version 1.0 — Zhiying Zhou: 9835580

Introduction

This study will process, exploration, analyze and predict Student’s academic performance based on a XAPI Educational Mining Datasets.

The XAPI Educational Mining Datasets is download from the Kaggle website. It was collected from an e-Learning system called Kalboard 360 using Experience API Web service (XAPI).

The datasets consist of 480 student records and 16 features. The features are classified into three major categories: 1. Demographic features such as gender, grade levels, topic and nationality. 2. Academic background features such as educational stage, grade Level and section. 3. Behavioral features such as raised hand on class, opening resources, answering survey by parents, and school satisfaction.

Attributes 1 Gender - student’s gender (nominal: ‘Male’ or ‘Female’) 2 Nationality- student’s nationality (nominal:‘Kuwait’,‘Lebanon’,‘Egypt’,‘SaudiArabia’,‘USA’,‘Jordan’,‘Venezuela’,‘Iran’,‘Tunis’,‘Morocco’,‘Syria’,‘Palestine’,‘Iraq’,‘Lybia’) 3 Place of birth- student’s Place of birth (nominal:‘Kuwait’,‘Lebanon’,‘Egypt’,‘SaudiArabia’,‘USA’,‘Jordan’,‘Venezuela’,‘Iran’,‘Tunis’,‘Morocco’,‘Syria’,‘Palestine’,‘Iraq’,‘Lybia’) 4 Educational Stages- educational level student belongs (nominal: ‘lowerlevel’,‘MiddleSchool’,‘HighSchool’) 5 Grade Levels- grade student belongs (nominal: ‘G-01’, ‘G-02’, ‘G-03’, ‘G-04’, ‘G-05’, ‘G-06’, ‘G-07’, ‘G-08’, ‘G-09’, ‘G-10’, ‘G-11’, ‘G-12’) 6 Section ID- classroom student belongs (nominal:‘A’,‘B’,‘C’) 7 Topic- course topic (nominal:‘English’,‘Spanish’, ‘French’,‘Arabic’,‘IT’,‘Math’,‘Chemistry’, ‘Biology’, ‘Science’,‘History’,‘Quran’,‘Geology’) 8 Semester- school year semester (nominal:‘First’,‘Second’) 9 Parent responsible for student (nominal:‘mom’,‘father’) 10 Raised hand- how many times the student raises his/her hand on classroom (numeric:0-100) 11- Visited resources- how many times the student visits a course content(numeric:0-100) 12 Viewing announcements-how many times the student checks the new announcements(numeric:0-100) 13 Discussion groups- how many times the student participate on discussion groups (numeric:0-100) 14 Parent Answering Survey- parent answered the surveys which are provided from school or not (nominal:‘Yes’,‘No’) 15 Parent School Satisfaction- the Degree of parent satisfaction from school(nominal:‘Yes’,‘No’) 16 Student Absence Days-the number of absence days for each student (nominal: above-7, under-7)

The students are classified into three numerical intervals based on their total grade/mark:

Low-Level: interval includes values from 0 to 69, Middle-Level: interval includes values from 70 to 89, High-Level: interval includes values from 90-100.

We will use R Studio to analyze this datasets in R programming language, and aim to achieve the following targets:

  1. Pre-process of the datasets. Clean the dataset, remove the useless columns or rows; and
  2. Explore the datasets. Explore the distribution of the datasets in different features: gender, nationality, grade, topic, parental satisfaction etc. (like girls raises more hand, more discussions in high school etc.); and
  3. Find underlying relationships. Like parent who are not satisfied and not answer survey, connection with study activity and performance (raising hand, discussion, absence, parental satisfaction, answering survey etc.); and
  4. Build prediction model, like decision tree or regression model to predict the student’s academic performance.
  5. Evaluate the predictive results of models and improve the models by comparing the accuracy.

Task 1. Exploration of the students’ academic performance datasets

# install libraries
library(ggplot2)
library(reshape2)
library(partykit)
## Warning: package 'partykit' was built under R version 3.4.2
## Loading required package: grid
library(caret)
## Loading required package: lattice
library(e1071)
library(randomForest)
## Warning: package 'randomForest' was built under R version 3.4.2
## randomForest 4.6-12
## Type rfNews() to see new features/changes/bug fixes.
## 
## Attaching package: 'randomForest'
## The following object is masked from 'package:ggplot2':
## 
##     margin
library(dplyr)
## Warning: package 'dplyr' was built under R version 3.4.2
## 
## Attaching package: 'dplyr'
## The following object is masked from 'package:randomForest':
## 
##     combine
## The following objects are masked from 'package:stats':
## 
##     filter, lag
## The following objects are masked from 'package:base':
## 
##     intersect, setdiff, setequal, union

Task 1.1. Preprocess the data set:

# Import XAPI Educational data sets
E <- read.csv("data/xAPI-Edu-Data.csv")
E
##     gender NationalITy PlaceofBirth      StageID GradeID SectionID
## 1        M          KW       KuwaIT   lowerlevel    G-04         A
## 2        M          KW       KuwaIT   lowerlevel    G-04         A
## 3        M          KW       KuwaIT   lowerlevel    G-04         A
## 4        M          KW       KuwaIT   lowerlevel    G-04         A
## 5        M          KW       KuwaIT   lowerlevel    G-04         A
## 6        F          KW       KuwaIT   lowerlevel    G-04         A
## 7        M          KW       KuwaIT MiddleSchool    G-07         A
## 8        M          KW       KuwaIT MiddleSchool    G-07         A
## 9        F          KW       KuwaIT MiddleSchool    G-07         A
## 10       F          KW       KuwaIT MiddleSchool    G-07         B
## 11       M          KW       KuwaIT MiddleSchool    G-07         A
## 12       M          KW       KuwaIT MiddleSchool    G-07         B
## 13       M          KW       KuwaIT   lowerlevel    G-04         A
## 14       M     lebanon      lebanon MiddleSchool    G-08         A
## 15       F          KW       KuwaIT MiddleSchool    G-08         A
## 16       F          KW       KuwaIT MiddleSchool    G-06         A
## 17       M          KW       KuwaIT MiddleSchool    G-07         B
## 18       M          KW       KuwaIT MiddleSchool    G-07         A
## 19       F          KW       KuwaIT MiddleSchool    G-07         A
## 20       M          KW       KuwaIT MiddleSchool    G-07         B
## 21       F          KW       KuwaIT MiddleSchool    G-07         A
## 22       F          KW       KuwaIT MiddleSchool    G-07         B
## 23       M          KW       KuwaIT MiddleSchool    G-07         A
## 24       M          KW       KuwaIT MiddleSchool    G-07         A
## 25       M          KW       KuwaIT MiddleSchool    G-07         B
## 26       M          KW       KuwaIT MiddleSchool    G-07         A
## 27       M          KW       KuwaIT MiddleSchool    G-07         B
## 28       M          KW       KuwaIT MiddleSchool    G-08         A
## 29       M          KW       KuwaIT MiddleSchool    G-08         A
## 30       F          KW       KuwaIT MiddleSchool    G-08         A
## 31       F          KW       KuwaIT MiddleSchool    G-08         A
## 32       M          KW       KuwaIT MiddleSchool    G-07         A
## 33       F          KW       KuwaIT   lowerlevel    G-07         A
## 34       M          KW       KuwaIT   lowerlevel    G-05         A
## 35       M          KW       KuwaIT MiddleSchool    G-07         B
## 36       M          KW       KuwaIT MiddleSchool    G-07         A
## 37       M          KW       KuwaIT MiddleSchool    G-07         B
## 38       F       Egypt        Egypt MiddleSchool    G-07         A
## 39       M          KW       KuwaIT MiddleSchool    G-06         A
## 40       F SaudiArabia  SaudiArabia MiddleSchool    G-07         B
## 41       F          KW       KuwaIT MiddleSchool    G-07         A
## 42       M          KW       KuwaIT MiddleSchool    G-07         A
## 43       M          KW       KuwaIT   HighSchool    G-09         A
## 44       F          KW       KuwaIT   HighSchool    G-09         A
## 45       F          KW       KuwaIT   HighSchool    G-09         A
## 46       M          KW       KuwaIT MiddleSchool    G-07         A
## 47       M          KW       KuwaIT   lowerlevel    G-05         A
## 48       F          KW       KuwaIT   HighSchool    G-12         A
## 49       F          KW       KuwaIT   HighSchool    G-12         A
## 50       F          KW       KuwaIT   HighSchool    G-12         A
## 51       F          KW       KuwaIT   HighSchool    G-12         A
## 52       M          KW       KuwaIT   HighSchool    G-12         A
## 53       F          KW       KuwaIT   HighSchool    G-12         A
## 54       F          KW       KuwaIT   HighSchool    G-11         A
## 55       M          KW       KuwaIT   HighSchool    G-12         A
## 56       M          KW       KuwaIT MiddleSchool    G-07         A
## 57       M         USA          USA MiddleSchool    G-08         B
## 58       M          KW       KuwaIT MiddleSchool    G-07         A
## 59       M          KW       KuwaIT MiddleSchool    G-07         A
## 60       F         USA          USA MiddleSchool    G-07         A
## 61       F      Jordan       Jordan   lowerlevel    G-05         A
## 62       M          KW       KuwaIT   HighSchool    G-10         A
## 63       M    venzuela     venzuela   HighSchool    G-10         A
## 64       M          KW       KuwaIT   HighSchool    G-10         A
## 65       M          KW       KuwaIT   HighSchool    G-10         A
## 66       M          KW       KuwaIT   HighSchool    G-12         A
## 67       F          KW       KuwaIT   HighSchool    G-12         A
## 68       F         USA          USA   HighSchool    G-12         A
## 69       F         USA          USA   HighSchool    G-12         A
## 70       M      Jordan       Jordan MiddleSchool    G-07         A
## 71       M      Jordan       Jordan MiddleSchool    G-07         A
## 72       M          KW       KuwaIT MiddleSchool    G-07         A
## 73       M          KW       KuwaIT MiddleSchool    G-07         A
## 74       F          KW       KuwaIT MiddleSchool    G-07         A
## 75       M          KW       KuwaIT MiddleSchool    G-07         B
## 76       M      Jordan       Jordan MiddleSchool    G-07         A
## 77       M        Iran         Iran   HighSchool    G-09         A
## 78       M          KW       KuwaIT   HighSchool    G-09         A
## 79       M          KW       KuwaIT   HighSchool    G-11         A
## 80       F     lebanon      lebanon MiddleSchool    G-07         B
## 81       M          KW       KuwaIT MiddleSchool    G-07         A
## 82       M          KW       KuwaIT   lowerlevel    G-02         A
## 83       M          KW       KuwaIT   lowerlevel    G-02         B
## 84       M          KW       KuwaIT   lowerlevel    G-02         B
## 85       M          KW       KuwaIT   lowerlevel    G-02         B
## 86       M          KW       KuwaIT   lowerlevel    G-02         B
## 87       M SaudiArabia  SaudiArabia   lowerlevel    G-02         B
## 88       M          KW       KuwaIT   lowerlevel    G-02         B
## 89       F          KW       KuwaIT   lowerlevel    G-02         B
## 90       M          KW       KuwaIT   lowerlevel    G-02         B
## 91       M          KW       KuwaIT   lowerlevel    G-02         B
## 92       M          KW       KuwaIT   lowerlevel    G-02         B
## 93       F          KW       KuwaIT   lowerlevel    G-02         B
## 94       M         USA          USA   lowerlevel    G-02         B
## 95       F          KW       KuwaIT   lowerlevel    G-02         B
## 96       F          KW       KuwaIT   lowerlevel    G-02         B
## 97       F          KW       KuwaIT   lowerlevel    G-02         C
## 98       F          KW       KuwaIT   lowerlevel    G-02         B
## 99       F          KW       KuwaIT   lowerlevel    G-02         C
## 100      M          KW       KuwaIT   lowerlevel    G-02         B
## 101      M          KW       KuwaIT   lowerlevel    G-02         B
## 102      F          KW       KuwaIT   lowerlevel    G-02         B
## 103      F          KW       KuwaIT   lowerlevel    G-02         B
## 104      M          KW       KuwaIT   lowerlevel    G-02         B
## 105      M          KW       KuwaIT   lowerlevel    G-02         B
## 106      F          KW       KuwaIT   lowerlevel    G-02         B
## 107      F          KW       KuwaIT   lowerlevel    G-02         B
## 108      M          KW       KuwaIT   lowerlevel    G-02         B
## 109      M SaudiArabia  SaudiArabia   lowerlevel    G-02         B
## 110      M          KW       KuwaIT   lowerlevel    G-02         B
## 111      F      Jordan       Jordan   lowerlevel    G-02         B
## 112      M          KW       KuwaIT   lowerlevel    G-02         C
## 113      M          KW       KuwaIT   lowerlevel    G-02         B
## 114      M          KW       KuwaIT   lowerlevel    G-02         B
## 115      M          KW       KuwaIT   lowerlevel    G-02         B
## 116      M          KW       KuwaIT   lowerlevel    G-02         B
## 117      F          KW       KuwaIT   lowerlevel    G-02         C
## 118      F          KW       KuwaIT   lowerlevel    G-02         C
## 119      F          KW       KuwaIT   lowerlevel    G-02         C
## 120      M          KW       KuwaIT   lowerlevel    G-02         C
## 121      M          KW       KuwaIT   lowerlevel    G-02         C
## 122      M          KW       KuwaIT   lowerlevel    G-02         C
## 123      F          KW       KuwaIT   lowerlevel    G-02         B
## 124      F     lebanon      lebanon   lowerlevel    G-02         B
## 125      M          KW       KuwaIT   lowerlevel    G-02         C
## 126      M          KW       KuwaIT   lowerlevel    G-02         B
## 127      F        Iran         Iran   lowerlevel    G-02         C
## 128      M          KW       KuwaIT   lowerlevel    G-02         B
## 129      M          KW       KuwaIT   lowerlevel    G-02         C
## 130      M          KW       KuwaIT   lowerlevel    G-02         B
## 131      F          KW       KuwaIT   lowerlevel    G-02         C
## 132      M      Jordan       Jordan   lowerlevel    G-02         C
## 133      M          KW       KuwaIT   lowerlevel    G-02         C
## 134      M          KW       KuwaIT   lowerlevel    G-02         A
## 135      M          KW       KuwaIT MiddleSchool    G-07         A
## 136      F       Egypt        Egypt MiddleSchool    G-07         A
## 137      F          KW          USA   HighSchool    G-11         A
## 138      F          KW          USA   HighSchool    G-11         A
## 139      F      Jordan        Egypt MiddleSchool    G-07         A
## 140      M      Jordan          USA MiddleSchool    G-07         A
## 141      M       Tunis        Tunis MiddleSchool    G-07         A
## 142      M       Tunis        Tunis MiddleSchool    G-07         A
## 143      M       Tunis        Tunis MiddleSchool    G-07         A
## 144      M          KW       KuwaIT MiddleSchool    G-07         A
## 145      M          KW       KuwaIT MiddleSchool    G-07         A
## 146      M       Tunis  SaudiArabia MiddleSchool    G-07         A
## 147      F     lebanon      lebanon MiddleSchool    G-07         A
## 148      F     lebanon      lebanon MiddleSchool    G-07         A
## 149      F      Jordan       Jordan MiddleSchool    G-07         A
## 150      F      Jordan      lebanon MiddleSchool    G-07         A
## 151      M SaudiArabia  SaudiArabia   HighSchool    G-11         A
## 152      M SaudiArabia          USA   HighSchool    G-11         A
## 153      F SaudiArabia          USA   HighSchool    G-11         B
## 154      M SaudiArabia          USA   HighSchool    G-11         B
## 155      M SaudiArabia          USA   HighSchool    G-11         B
## 156      M SaudiArabia          USA   HighSchool    G-11         B
## 157      F       Tunis          USA   HighSchool    G-11         B
## 158      M       Tunis        Tunis   HighSchool    G-11         B
## 159      M       Tunis       KuwaIT MiddleSchool    G-07         B
## 160      F          KW       KuwaIT MiddleSchool    G-07         B
## 161      F      Jordan       Jordan MiddleSchool    G-07         B
## 162      M      Jordan       Jordan MiddleSchool    G-07         B
## 163      F      Jordan       Jordan   lowerlevel    G-02         B
## 164      F      Jordan          USA   lowerlevel    G-02         B
## 165      M      Jordan       Jordan   lowerlevel    G-02         B
## 166      F     Morocco      Morocco   lowerlevel    G-02         B
## 167      M          KW       KuwaIT   lowerlevel    G-02         B
## 168      M       Tunis        Tunis   lowerlevel    G-02         B
## 169      M          KW       KuwaIT   lowerlevel    G-02         B
## 170      M          KW       KuwaIT   lowerlevel    G-02         B
## 171      M          KW       KuwaIT   lowerlevel    G-02         B
## 172      M          KW       KuwaIT   lowerlevel    G-02         B
## 173      M        Iran         Iran   lowerlevel    G-02         B
## 174      M       Syria        Syria   lowerlevel    G-02         B
## 175      F      Jordan       Jordan   lowerlevel    G-02         B
## 176      M        Iran         Iran   lowerlevel    G-02         B
## 177      M       Tunis        Tunis   lowerlevel    G-02         B
## 178      F         USA          USA   lowerlevel    G-02         B
## 179      F     lebanon      lebanon   lowerlevel    G-02         B
## 180      M     lebanon      lebanon   lowerlevel    G-02         B
## 181      F SaudiArabia  SaudiArabia   lowerlevel    G-02         B
## 182      M      Jordan       Jordan   lowerlevel    G-02         B
## 183      M          KW       KuwaIT MiddleSchool    G-08         A
## 184      F     lebanon      lebanon MiddleSchool    G-08         A
## 185      M     lebanon      lebanon MiddleSchool    G-08         A
## 186      M     lebanon       Jordan MiddleSchool    G-08         A
## 187      M          KW       KuwaIT MiddleSchool    G-08         A
## 188      F          KW       KuwaIT MiddleSchool    G-08         A
## 189      M          KW       KuwaIT MiddleSchool    G-08         A
## 190      F          KW       KuwaIT MiddleSchool    G-08         A
## 191      M          KW       KuwaIT MiddleSchool    G-08         A
## 192      M          KW       KuwaIT MiddleSchool    G-08         A
## 193      M          KW       KuwaIT MiddleSchool    G-08         A
## 194      M     Morocco      Morocco MiddleSchool    G-08         A
## 195      M     Morocco      Morocco MiddleSchool    G-08         A
## 196      M          KW       KuwaIT MiddleSchool    G-08         A
## 197      M          KW       KuwaIT MiddleSchool    G-08         A
## 198      M          KW       KuwaIT MiddleSchool    G-08         A
## 199      M     Morocco      Morocco MiddleSchool    G-08         B
## 200      M          KW       KuwaIT MiddleSchool    G-08         B
## 201      M          KW       KuwaIT MiddleSchool    G-08         B
## 202      F     lebanon      lebanon MiddleSchool    G-08         A
## 203      M          KW       KuwaIT MiddleSchool    G-08         B
## 204      F          KW       KuwaIT MiddleSchool    G-08         B
## 205      M      Jordan       Jordan MiddleSchool    G-08         B
## 206      F SaudiArabia  SaudiArabia MiddleSchool    G-08         B
## 207      M          KW       KuwaIT MiddleSchool    G-08         B
## 208      M          KW       KuwaIT MiddleSchool    G-08         C
## 209      M       Tunis        Tunis MiddleSchool    G-08         C
## 210      M          KW       KuwaIT MiddleSchool    G-08         C
## 211      M      Jordan  SaudiArabia MiddleSchool    G-08         C
## 212      M          KW       KuwaIT MiddleSchool    G-08         C
## 213      M       Tunis        Tunis MiddleSchool    G-08         C
## 214      M       Tunis        Tunis MiddleSchool    G-08         C
## 215      M          KW       KuwaIT MiddleSchool    G-08         C
## 216      M          KW       KuwaIT MiddleSchool    G-08         C
## 217      M        Iran         Iran MiddleSchool    G-08         C
## 218      F      Jordan       KuwaIT MiddleSchool    G-08         C
## 219      M          KW       KuwaIT MiddleSchool    G-08         C
## 220      M          KW       KuwaIT MiddleSchool    G-08         C
## 221      M     lebanon      lebanon MiddleSchool    G-08         C
## 222      M     lebanon      lebanon MiddleSchool    G-08         C
## 223      M          KW       KuwaIT MiddleSchool    G-08         B
## 224      M          KW       KuwaIT MiddleSchool    G-08         A
## 225      M          KW       KuwaIT MiddleSchool    G-08         B
## 226      M          KW       KuwaIT MiddleSchool    G-08         A
## 227      M          KW       KuwaIT MiddleSchool    G-08         B
## 228      M          KW       KuwaIT MiddleSchool    G-08         A
## 229      M          KW       KuwaIT   HighSchool    G-11         B
## 230      M          KW       KuwaIT MiddleSchool    G-08         A
## 231      M        Iran         Iran MiddleSchool    G-08         A
## 232      M       Syria       Jordan MiddleSchool    G-08         A
## 233      M       Syria        Syria MiddleSchool    G-07         A
## 234      F      Jordan       Jordan MiddleSchool    G-07         B
## 235      M          KW       KuwaIT MiddleSchool    G-07         B
## 236      M          KW       KuwaIT MiddleSchool    G-07         B
## 237      M      Jordan       Jordan MiddleSchool    G-07         B
## 238      M          KW       KuwaIT MiddleSchool    G-07         B
## 239      F          KW       KuwaIT MiddleSchool    G-07         B
## 240      M       Egypt        Egypt MiddleSchool    G-07         B
## 241      M          KW       KuwaIT MiddleSchool    G-07         B
## 242      M       Egypt        Egypt MiddleSchool    G-07         B
## 243      M          KW       KuwaIT MiddleSchool    G-07         B
## 244      M       Egypt       KuwaIT MiddleSchool    G-07         B
## 245      M          KW       KuwaIT MiddleSchool    G-07         B
## 246      F          KW       KuwaIT MiddleSchool    G-06         A
## 247      F          KW       KuwaIT MiddleSchool    G-06         A
## 248      F          KW       KuwaIT MiddleSchool    G-06         A
## 249      F          KW       KuwaIT MiddleSchool    G-06         A
## 250      M          KW       KuwaIT   lowerlevel    G-04         A
## 251      M          KW       KuwaIT   lowerlevel    G-04         A
## 252      M       Egypt        Egypt   lowerlevel    G-04         A
## 253      F          KW       KuwaIT   lowerlevel    G-04         A
## 254      M          KW       KuwaIT   lowerlevel    G-04         A
## 255      M          KW       KuwaIT   lowerlevel    G-04         A
## 256      M          KW       KuwaIT   lowerlevel    G-04         A
## 257      F          KW       KuwaIT   lowerlevel    G-04         A
## 258      F          KW       KuwaIT   lowerlevel    G-04         A
## 259      F          KW       KuwaIT   lowerlevel    G-04         A
## 260      M          KW       KuwaIT   lowerlevel    G-04         A
## 261      M          KW       KuwaIT   lowerlevel    G-04         A
## 262      M          KW       KuwaIT   lowerlevel    G-04         A
## 263      F          KW       KuwaIT   lowerlevel    G-04         A
## 264      M       Egypt        Egypt   lowerlevel    G-04         A
## 265      F      Jordan       Jordan MiddleSchool    G-06         A
## 266      F      Jordan       Jordan MiddleSchool    G-06         A
## 267      M      Jordan       Jordan MiddleSchool    G-06         A
## 268      M      Jordan       Jordan MiddleSchool    G-06         A
## 269      M      Jordan       Jordan MiddleSchool    G-06         A
## 270      M      Jordan       Jordan MiddleSchool    G-06         A
## 271      F      Jordan       Jordan MiddleSchool    G-06         A
## 272      F      Jordan       Jordan MiddleSchool    G-06         A
## 273      M      Jordan       Jordan MiddleSchool    G-06         A
## 274      M      Jordan       Jordan MiddleSchool    G-06         A
## 275      F     lebanon      lebanon MiddleSchool    G-06         A
## 276      F     lebanon      lebanon MiddleSchool    G-06         A
## 277      M   Palestine       Jordan MiddleSchool    G-06         A
## 278      M   Palestine       Jordan MiddleSchool    G-06         A
## 279      M   Palestine       Jordan MiddleSchool    G-06         A
## 280      M   Palestine       Jordan MiddleSchool    G-06         A
## 281      M        Iraq         Iraq MiddleSchool    G-06         A
## 282      M        Iraq         Iraq MiddleSchool    G-06         A
## 283      F      Jordan       Jordan MiddleSchool    G-06         A
## 284      F      Jordan       Jordan MiddleSchool    G-06         A
## 285      M      Jordan       Jordan MiddleSchool    G-06         A
## 286      M      Jordan       Jordan MiddleSchool    G-06         A
## 287      F      Jordan       Jordan MiddleSchool    G-06         A
## 288      F      Jordan       Jordan MiddleSchool    G-06         A
## 289      M   Palestine       Jordan MiddleSchool    G-06         A
## 290      M   Palestine       Jordan MiddleSchool    G-06         A
## 291      F      Jordan       Jordan   lowerlevel    G-04         A
## 292      F      Jordan       Jordan   lowerlevel    G-04         A
## 293      F   Palestine    Palestine   lowerlevel    G-04         A
## 294      F   Palestine    Palestine   lowerlevel    G-04         A
## 295      M        Iraq         Iraq   lowerlevel    G-04         A
## 296      M        Iraq         Iraq   lowerlevel    G-04         A
## 297      F      Jordan       Jordan   lowerlevel    G-04         A
## 298      F      Jordan       Jordan   lowerlevel    G-04         A
## 299      M      Jordan       Jordan   lowerlevel    G-04         A
## 300      M      Jordan       Jordan   lowerlevel    G-04         A
## 301      M      Jordan       Jordan   lowerlevel    G-04         A
## 302      M      Jordan       Jordan   lowerlevel    G-04         A
## 303      F      Jordan       Jordan   lowerlevel    G-04         B
## 304      F      Jordan       Jordan   lowerlevel    G-04         B
## 305      F      Jordan       Jordan   lowerlevel    G-04         B
## 306      F      Jordan       Jordan   lowerlevel    G-04         B
## 307      M      Jordan       Jordan   lowerlevel    G-04         B
## 308      M      Jordan       Jordan   lowerlevel    G-04         B
## 309      M   Palestine       Jordan   lowerlevel    G-04         B
## 310      M   Palestine       Jordan   lowerlevel    G-04         B
## 311      M      Jordan       Jordan   lowerlevel    G-04         B
## 312      M      Jordan       Jordan   lowerlevel    G-04         B
## 313      F      Jordan       Jordan   lowerlevel    G-04         B
## 314      F      Jordan       Jordan   lowerlevel    G-04         B
## 315      F      Jordan      lebanon   lowerlevel    G-04         B
## 316      F      Jordan      lebanon   lowerlevel    G-04         B
## 317      M      Jordan       Jordan   lowerlevel    G-02         A
## 318      M      Jordan       Jordan   lowerlevel    G-02         A
## 319      F      Jordan       Jordan   lowerlevel    G-02         A
## 320      F      Jordan       Jordan   lowerlevel    G-02         A
## 321      F      Jordan       Jordan   lowerlevel    G-02         A
## 322      F      Jordan       Jordan   lowerlevel    G-02         A
## 323      M      Jordan       Jordan   lowerlevel    G-02         A
## 324      M      Jordan       Jordan   lowerlevel    G-02         A
## 325      M       Syria        Syria   lowerlevel    G-02         A
## 326      M       Syria        Syria   lowerlevel    G-02         A
## 327      M      Jordan       Jordan   lowerlevel    G-02         A
## 328      M      Jordan       Jordan   lowerlevel    G-02         A
## 329      F      Jordan    Palestine   lowerlevel    G-02         A
## 330      F      Jordan    Palestine   lowerlevel    G-02         A
## 331      M      Jordan       Jordan   lowerlevel    G-02         A
## 332      M      Jordan       Jordan   lowerlevel    G-02         A
## 333      F      Jordan       Jordan   lowerlevel    G-02         A
## 334      F      Jordan       Jordan   lowerlevel    G-02         A
## 335      M       Lybia        Lybia   lowerlevel    G-02         A
## 336      M       Lybia        Lybia   lowerlevel    G-02         A
## 337      F   Palestine       Jordan   lowerlevel    G-02         A
## 338      F   Palestine       Jordan   lowerlevel    G-02         A
## 339      F   Palestine       Jordan   lowerlevel    G-02         B
## 340      F   Palestine       Jordan   lowerlevel    G-02         B
## 341      F        Iraq         Iraq   lowerlevel    G-02         B
## 342      F        Iraq         Iraq   lowerlevel    G-02         B
## 343      M      Jordan       Jordan   lowerlevel    G-02         B
## 344      M      Jordan       Jordan   lowerlevel    G-02         B
## 345      F      Jordan       Jordan   lowerlevel    G-02         B
## 346      F      Jordan       Jordan   lowerlevel    G-02         B
## 347      F      Jordan       Jordan   lowerlevel    G-02         B
## 348      F      Jordan       Jordan   lowerlevel    G-02         B
## 349      M       Lybia        Lybia   lowerlevel    G-02         B
## 350      M       Lybia        Lybia   lowerlevel    G-02         B
## 351      M       Egypt        Egypt   lowerlevel    G-02         B
## 352      M       Egypt        Egypt   lowerlevel    G-02         B
## 353      F      Jordan       Jordan   lowerlevel    G-02         B
## 354      F      Jordan       Jordan   lowerlevel    G-02         B
## 355      M      Jordan       Jordan   lowerlevel    G-02         B
## 356      M      Jordan       Jordan   lowerlevel    G-02         B
## 357      M      Jordan       Jordan   lowerlevel    G-02         B
## 358      M      Jordan       Jordan   lowerlevel    G-02         B
## 359      F     lebanon      lebanon   lowerlevel    G-02         B
## 360      F     lebanon      lebanon   lowerlevel    G-02         B
## 361      M      Jordan       Jordan   lowerlevel    G-02         A
## 362      M      Jordan       Jordan   lowerlevel    G-02         A
## 363      M   Palestine       Jordan   lowerlevel    G-02         A
## 364      M   Palestine       Jordan   lowerlevel    G-02         A
## 365      M        Iraq         Iraq   lowerlevel    G-02         A
## 366      M        Iraq         Iraq   lowerlevel    G-02         A
## 367      M      Jordan       Jordan   lowerlevel    G-02         A
## 368      M      Jordan       Jordan   lowerlevel    G-02         A
## 369      F   Palestine       Jordan   lowerlevel    G-02         A
## 370      F   Palestine       Jordan   lowerlevel    G-02         A
## 371      M      Jordan       Jordan   lowerlevel    G-02         A
## 372      M      Jordan       Jordan   lowerlevel    G-02         A
## 373      F      Jordan       Jordan   lowerlevel    G-02         A
## 374      F      Jordan       Jordan   lowerlevel    G-02         A
## 375      M      Jordan       Jordan   lowerlevel    G-02         B
## 376      M      Jordan       Jordan   lowerlevel    G-02         B
## 377      M      Jordan       Jordan   lowerlevel    G-02         B
## 378      M      Jordan       Jordan   lowerlevel    G-02         B
## 379      M      Jordan       Jordan   lowerlevel    G-02         B
## 380      M      Jordan       Jordan   lowerlevel    G-02         B
## 381      F      Jordan       Jordan   lowerlevel    G-02         B
## 382      F      Jordan       Jordan   lowerlevel    G-02         B
## 383      M        Iraq         Iraq   lowerlevel    G-02         B
## 384      M        Iraq         Iraq   lowerlevel    G-02         B
## 385      F        Iraq         Iraq   lowerlevel    G-02         B
## 386      F        Iraq         Iraq   lowerlevel    G-02         B
## 387      M      Jordan       Jordan   lowerlevel    G-02         B
## 388      M      Jordan       Jordan   lowerlevel    G-02         B
## 389      M      Jordan  SaudiArabia   lowerlevel    G-02         B
## 390      M      Jordan  SaudiArabia   lowerlevel    G-02         B
## 391      F      Jordan       Jordan MiddleSchool    G-07         A
## 392      F      Jordan       Jordan MiddleSchool    G-07         A
## 393      F        Iraq         Iraq MiddleSchool    G-07         A
## 394      F        Iraq         Iraq MiddleSchool    G-07         A
## 395      M      Jordan    Palestine MiddleSchool    G-07         A
## 396      M      Jordan    Palestine MiddleSchool    G-07         A
## 397      M      Jordan       Jordan MiddleSchool    G-07         A
## 398      M      Jordan       Jordan MiddleSchool    G-07         A
## 399      M   Palestine    Palestine MiddleSchool    G-07         A
## 400      M   Palestine    Palestine MiddleSchool    G-07         A
## 401      M      Jordan       Jordan MiddleSchool    G-07         A
## 402      M      Jordan       Jordan MiddleSchool    G-07         A
## 403      M      Jordan       Jordan MiddleSchool    G-07         A
## 404      M      Jordan       Jordan MiddleSchool    G-07         A
## 405      F       Syria        Syria MiddleSchool    G-07         A
## 406      F       Syria        Syria MiddleSchool    G-07         A
## 407      M      Jordan       Jordan MiddleSchool    G-07         A
## 408      M      Jordan       Jordan MiddleSchool    G-07         A
## 409      M      Jordan       Jordan MiddleSchool    G-07         B
## 410      M      Jordan       Jordan MiddleSchool    G-07         B
## 411      F      Jordan       Jordan MiddleSchool    G-07         B
## 412      F      Jordan       Jordan MiddleSchool    G-07         B
## 413      M   Palestine       Jordan MiddleSchool    G-07         B
## 414      M   Palestine       Jordan MiddleSchool    G-07         B
## 415      F       Lybia        Lybia MiddleSchool    G-07         B
## 416      F       Lybia        Lybia MiddleSchool    G-07         B
## 417      M        Iraq         Iraq MiddleSchool    G-07         B
## 418      M        Iraq         Iraq MiddleSchool    G-07         B
## 419      M   Palestine       Jordan MiddleSchool    G-07         B
## 420      M   Palestine       Jordan MiddleSchool    G-07         B
## 421      F      Jordan       Jordan MiddleSchool    G-08         A
## 422      F      Jordan       Jordan MiddleSchool    G-08         A
## 423      F      Jordan       Jordan MiddleSchool    G-08         A
## 424      F      Jordan       Jordan MiddleSchool    G-08         A
## 425      F      Jordan       Jordan MiddleSchool    G-08         A
## 426      F      Jordan       Jordan MiddleSchool    G-08         A
## 427      M      Jordan       Jordan MiddleSchool    G-08         A
## 428      M      Jordan       Jordan MiddleSchool    G-08         A
## 429      M      Jordan  SaudiArabia MiddleSchool    G-08         A
## 430      M      Jordan  SaudiArabia MiddleSchool    G-08         A
## 431      M      Jordan  SaudiArabia MiddleSchool    G-08         A
## 432      M      Jordan  SaudiArabia MiddleSchool    G-08         A
## 433      M      Jordan  SaudiArabia MiddleSchool    G-08         A
## 434      M      Jordan  SaudiArabia MiddleSchool    G-08         A
## 435      M      Jordan       Jordan MiddleSchool    G-08         A
## 436      M      Jordan       Jordan MiddleSchool    G-08         A
## 437      M      Jordan       Jordan MiddleSchool    G-08         A
## 438      M      Jordan       Jordan MiddleSchool    G-08         A
## 439      M      Jordan       Jordan MiddleSchool    G-08         A
## 440      M      Jordan       Jordan MiddleSchool    G-08         A
## 441      M      Jordan       Jordan MiddleSchool    G-08         A
## 442      M      Jordan       Jordan MiddleSchool    G-08         A
## 443      M      Jordan       Jordan MiddleSchool    G-08         A
## 444      M      Jordan       Jordan MiddleSchool    G-08         A
## 445      M      Jordan       Jordan MiddleSchool    G-08         A
## 446      M      Jordan       Jordan MiddleSchool    G-08         A
## 447      M      Jordan       Jordan MiddleSchool    G-08         A
## 448      M      Jordan       Jordan MiddleSchool    G-08         A
## 449      M      Jordan       Jordan MiddleSchool    G-08         A
## 450      M      Jordan       Jordan MiddleSchool    G-08         A
## 451      F      Jordan       Jordan MiddleSchool    G-08         A
## 452      F      Jordan       Jordan MiddleSchool    G-08         A
## 453      F      Jordan       Jordan MiddleSchool    G-08         A
## 454      F      Jordan       Jordan MiddleSchool    G-08         A
## 455      F      Jordan       Jordan MiddleSchool    G-08         A
## 456      F      Jordan       Jordan MiddleSchool    G-08         A
## 457      F      Jordan       Jordan MiddleSchool    G-08         A
## 458      F      Jordan       Jordan MiddleSchool    G-08         A
## 459      M        Iraq         Iraq MiddleSchool    G-08         A
## 460      M        Iraq         Iraq MiddleSchool    G-08         A
## 461      M        Iraq         Iraq MiddleSchool    G-08         A
## 462      M        Iraq         Iraq MiddleSchool    G-08         A
## 463      M        Iraq         Iraq MiddleSchool    G-08         A
## 464      M        Iraq         Iraq MiddleSchool    G-08         A
## 465      F      Jordan       Jordan MiddleSchool    G-08         A
## 466      F      Jordan       Jordan MiddleSchool    G-08         A
## 467      F      Jordan       Jordan MiddleSchool    G-08         A
## 468      F      Jordan       Jordan MiddleSchool    G-08         A
## 469      F      Jordan       Jordan MiddleSchool    G-08         A
## 470      F      Jordan       Jordan MiddleSchool    G-08         A
## 471      M   Palestine       Jordan MiddleSchool    G-08         A
## 472      M   Palestine       Jordan MiddleSchool    G-08         A
## 473      M   Palestine    Palestine MiddleSchool    G-08         A
## 474      M   Palestine    Palestine MiddleSchool    G-08         A
## 475      F      Jordan       Jordan MiddleSchool    G-08         A
## 476      F      Jordan       Jordan MiddleSchool    G-08         A
## 477      F      Jordan       Jordan MiddleSchool    G-08         A
## 478      F      Jordan       Jordan MiddleSchool    G-08         A
## 479      F      Jordan       Jordan MiddleSchool    G-08         A
## 480      F      Jordan       Jordan MiddleSchool    G-08         A
##         Topic Semester Relation raisedhands VisITedResources
## 1          IT        F   Father          15               16
## 2          IT        F   Father          20               20
## 3          IT        F   Father          10                7
## 4          IT        F   Father          30               25
## 5          IT        F   Father          40               50
## 6          IT        F   Father          42               30
## 7        Math        F   Father          35               12
## 8        Math        F   Father          50               10
## 9        Math        F   Father          12               21
## 10         IT        F   Father          70               80
## 11       Math        F   Father          50               88
## 12       Math        F   Father          19                6
## 13         IT        F   Father           5                1
## 14       Math        F   Father          20               14
## 15       Math        F      Mum          62               70
## 16         IT        F   Father          30               40
## 17         IT        F   Father          36               30
## 18       Math        F   Father          55               13
## 19         IT        F      Mum          69               15
## 20         IT        F      Mum          70               50
## 21         IT        F   Father          60               60
## 22         IT        F   Father          10               12
## 23         IT        F   Father          15               21
## 24         IT        F   Father           2                0
## 25         IT        F   Father           0                2
## 26         IT        F   Father           8                7
## 27         IT        F   Father          19               19
## 28     Arabic        F   Father          25               15
## 29    Science        F   Father          75               85
## 30     Arabic        F   Father          30               90
## 31     Arabic        F   Father          35               80
## 32         IT        F   Father           4                5
## 33         IT        F   Father           2               19
## 34    English        F   Father           8               22
## 35    Science        F   Father          12               11
## 36    English        F   Father          10               12
## 37    Science        F      Mum           8                6
## 38         IT        F   Father          45               54
## 39         IT        F   Father           0                0
## 40    Science        F   Father          50               90
## 41         IT        F   Father          14               13
## 42         IT        F   Father          19               20
## 43         IT        F   Father          10               12
## 44         IT        F   Father          30               35
## 45         IT        F   Father          33               33
## 46      Quran        F   Father          20               12
## 47    English        F   Father           7               10
## 48    English        F      Mum          70                4
## 49    English        F      Mum          13               80
## 50    English        F   Father          29               39
## 51    English        F   Father          20               14
## 52    English        F   Father          39               15
## 53    English        F   Father          55               90
## 54    Science        F      Mum          49               70
## 55    English        F      Mum          12               50
## 56       Math        F   Father          16               14
## 57       Math        F   Father          19                5
## 58       Math        F   Father           5                2
## 59       Math        F   Father          28               60
## 60       Math        F   Father          27               22
## 61    English        F      Mum          21               10
## 62         IT        F   Father          50               70
## 63         IT        F      Mum          80               90
## 64         IT        F   Father          17               13
## 65         IT        F   Father           0                5
## 66    English        F   Father          13                5
## 67    English        F   Father          25               10
## 68    English        F      Mum          65               75
## 69         IT        F      Mum          70               69
## 70         IT        F   Father          39               40
## 71         IT        F   Father          22               30
## 72         IT        F   Father          29               22
## 73       Math        F   Father          11                2
## 74    English        F   Father          19               30
## 75         IT        F   Father          12                0
## 76      Quran        F      Mum          50               90
## 77         IT        F      Mum          15               70
## 78         IT        F   Father          20               80
## 79      Quran        F   Father          13                3
## 80       Math        F      Mum          80               90
## 81       Math        F   Father           8               15
## 82         IT        F   Father           8               25
## 83         IT        F   Father           7                5
## 84         IT        F   Father           7                4
## 85         IT        F   Father          50               70
## 86         IT        F   Father           1                0
## 87         IT        F   Father          70               12
## 88         IT        F   Father          19               70
## 89         IT        F   Father           3               12
## 90         IT        F   Father           5               20
## 91         IT        F   Father           4                8
## 92         IT        F   Father          80               90
## 93         IT        F   Father          50               70
## 94         IT        F   Father          55               89
## 95         IT        F   Father          80               44
## 96         IT        F   Father         100               80
## 97         IT        F   Father          14               60
## 98         IT        F   Father           6                2
## 99         IT        F   Father          10                3
## 100        IT        F   Father          50                7
## 101        IT        F   Father          50               90
## 102        IT        F      Mum          70               92
## 103        IT        F   Father           2                6
## 104        IT        F   Father           1                7
## 105        IT        F   Father           0               12
## 106        IT        F   Father           0                0
## 107        IT        F   Father          12               26
## 108        IT        F   Father          70               90
## 109        IT        F   Father           7               12
## 110        IT        F   Father          90               70
## 111        IT        F      Mum          70               88
## 112        IT        F   Father          77               80
## 113        IT        F   Father           2                5
## 114        IT        F   Father          25               27
## 115        IT        F   Father          11                2
## 116        IT        F   Father           0                8
## 117        IT        F      Mum          77               80
## 118        IT        F      Mum          25               29
## 119        IT        F      Mum          24               35
## 120        IT        F   Father          60               60
## 121        IT        F      Mum          21               12
## 122        IT        F      Mum           0                4
## 123        IT        F   Father          66               90
## 124        IT        F   Father          70               98
## 125        IT        F   Father           0                6
## 126        IT        F   Father          12               30
## 127        IT        F   Father           2                9
## 128        IT        F   Father          55               33
## 129        IT        F   Father          12               10
## 130        IT        F   Father          70               90
## 131        IT        F   Father           7                9
## 132        IT        F   Father          80               42
## 133        IT        S   Father           0                3
## 134        IT        S   Father          12               60
## 135     Quran        S   Father          80               80
## 136     Quran        S      Mum          70               80
## 137     Quran        S      Mum          70               80
## 138     Quran        F      Mum          60               80
## 139     Quran        F      Mum         100               80
## 140     Quran        F      Mum         100               85
## 141     Quran        F   Father          10               60
## 142     Quran        S   Father          19               65
## 143     Quran        S   Father          10               75
## 144     Quran        S   Father          80               90
## 145     Quran        S   Father          10               10
## 146     Quran        S   Father          70               75
## 147     Quran        S      Mum         100               75
## 148     Quran        S   Father          10               79
## 149     Quran        S   Father          60               55
## 150     Quran        S      Mum         100               75
## 151     Quran        S   Father          80               80
## 152   Science        S   Father          23               63
## 153   Science        S   Father         100               91
## 154   Spanish        S   Father          10               51
## 155   English        S   Father          70               50
## 156      Math        S   Father          70               58
## 157    French        S   Father          70               50
## 158   Science        S   Father          70               50
## 159   Science        S   Father          22               51
## 160   Science        S   Father          62               68
## 161   Science        S      Mum          82               89
## 162   Science        S      Mum          72               80
## 163    French        S      Mum          70               82
## 164    French        S      Mum          60               82
## 165    French        S      Mum          55               72
## 166    French        S      Mum          72               65
## 167    French        S      Mum          51               82
## 168    French        S      Mum          80               92
## 169    French        S      Mum          60               52
## 170    French        S      Mum          30               12
## 171    French        S   Father          40               62
## 172    French        S      Mum          60               52
## 173    French        S      Mum          20               22
## 174    French        S      Mum          20               52
## 175    French        S   Father          50               62
## 176    French        S   Father          10                2
## 177    French        S      Mum          60               52
## 178    French        S      Mum          15               52
## 179    French        S      Mum          80               42
## 180    French        S      Mum          40               51
## 181    French        S   Father          60               70
## 182    French        S   Father          50               62
## 183    Arabic        S      Mum          85               75
## 184    Arabic        S   Father          25               15
## 185    Arabic        S      Mum          10               35
## 186    Arabic        S      Mum          87               65
## 187    Arabic        S      Mum          85               15
## 188    Arabic        S   Father          80               71
## 189    Arabic        S      Mum          75               71
## 190    Arabic        S   Father          85               66
## 191    Arabic        S   Father          23               25
## 192    Arabic        S   Father          15               25
## 193    Arabic        S      Mum          95               91
## 194    Arabic        S      Mum          81               75
## 195    Arabic        S      Mum          53               75
## 196    Arabic        S   Father          15               43
## 197    Arabic        S      Mum          92               65
## 198    Arabic        S      Mum          83               75
## 199    Arabic        S   Father          27               15
## 200    Arabic        S   Father          45               95
## 201    Arabic        S      Mum          15               90
## 202    Arabic        S      Mum          45               58
## 203    Arabic        S   Father          25                5
## 204    Arabic        S   Father          22               51
## 205    Arabic        S   Father          29               10
## 206    Arabic        S      Mum          72               51
## 207    Arabic        S   Father          67               31
## 208   Spanish        S   Father          17               21
## 209   Spanish        S      Mum          27               41
## 210   Spanish        S   Father          70               81
## 211   Spanish        S      Mum          27               90
## 212   Spanish        S   Father          17               61
## 213   Spanish        S      Mum          87               81
## 214   Spanish        S   Father           7               61
## 215   Spanish        S   Father          17               50
## 216   Spanish        S   Father           5               21
## 217   Spanish        S      Mum          27               41
## 218   Spanish        S   Father          87               88
## 219   Spanish        S      Mum          96               61
## 220   Spanish        S      Mum          57               51
## 221   Spanish        S   Father          77               69
## 222   Spanish        S   Father          80               51
## 223   Spanish        S   Father          62               61
## 224   Spanish        S      Mum          72               83
## 225   Spanish        S      Mum          87               81
## 226   Spanish        S      Mum          72               90
## 227   Spanish        S   Father           2               11
## 228   Spanish        S   Father           5                3
## 229      Math        S      Mum          73               84
## 230   Spanish        S   Father           5               17
## 231   Spanish        S      Mum          51               42
## 232   Spanish        S   Father           9                7
## 233     Quran        F   Father          19               72
## 234   Science        S      Mum          32               80
## 235   Science        S      Mum          32               60
## 236   Science        S   Father          12                8
## 237   Science        S   Father          52               10
## 238   Science        S   Father          72               80
## 239   Science        S      Mum          72               80
## 240   Science        S      Mum          92               80
## 241   Science        S      Mum          72               80
## 242   Science        S   Father          72               80
## 243   Science        S   Father          22               20
## 244   Science        S   Father          12               20
## 245        IT        S      Mum          70               92
## 246        IT        S   Father          50               40
## 247   Science        S   Father          80               94
## 248      Math        S   Father          87               48
## 249     Quran        S   Father          70               40
## 250        IT        S   Father          65               86
## 251      Math        S   Father          15                6
## 252   English        S      Mum          19               74
## 253   Science        S   Father          69               76
## 254    Arabic        S   Father          39               26
## 255   English        S   Father          59               97
## 256   History        S   Father          10               17
## 257   History        S      Mum          80               87
## 258   History        S   Father          70               99
## 259   History        S   Father          80               97
## 260   English        S      Mum          69               34
## 261   History        S   Father          10               17
## 262   History        S   Father          61               97
## 263   History        S      Mum          21               27
## 264      Math        S      Mum          49               94
## 265   English        F      Mum          70               64
## 266   English        S      Mum          79               84
## 267   English        F   Father          19               80
## 268   English        S   Father          11               70
## 269   English        F   Father          10                8
## 270   English        S   Father          18               28
## 271   English        F      Mum          90               84
## 272   English        S      Mum          92               81
## 273   English        F   Father          42               21
## 274   English        S   Father          22               20
## 275   English        F      Mum          95               82
## 276   English        S      Mum          90               62
## 277   English        F      Mum          72               21
## 278   English        S      Mum          92               31
## 279   English        F      Mum          82               31
## 280   English        S      Mum          72               41
## 281   English        F      Mum          74               71
## 282   English        S      Mum          74               60
## 283   English        F      Mum          95               94
## 284   English        S      Mum          97               87
## 285   English        F   Father          40               38
## 286   English        S   Father          41               39
## 287   English        F      Mum          51               79
## 288   English        S      Mum          81               79
## 289   English        F      Mum          71               70
## 290   English        S      Mum          75               71
## 291   Science        F   Father          49               36
## 292   Science        S   Father          42               24
## 293   Science        F      Mum          90               86
## 294   Science        S      Mum          62               64
## 295   Science        F   Father          90               86
## 296   Science        S   Father          62               64
## 297   Science        F      Mum          98               87
## 298   Science        S      Mum          72               74
## 299   Science        F   Father          18               17
## 300   Science        S   Father          32               14
## 301   Science        F   Father          10               12
## 302   Science        S   Father          22               34
## 303   Science        F      Mum          11               20
## 304   Science        S      Mum          12               44
## 305   Science        F   Father          15               50
## 306   Science        S   Father          32               44
## 307   Science        F      Mum          65               59
## 308   Science        S      Mum          72               64
## 309   Science        F      Mum          95               57
## 310   Science        S      Mum          82               84
## 311   Science        F   Father          25               29
## 312   Science        S   Father          42               34
## 313   Science        F      Mum          55               79
## 314   Science        S      Mum          62               64
## 315   Science        F      Mum          78               88
## 316   Science        S      Mum          72               84
## 317    French        F      Mum          60               92
## 318    French        S      Mum          50               90
## 319    French        F      Mum          60               97
## 320    French        S      Mum          50               95
## 321    French        F      Mum          60               87
## 322    French        S      Mum          50               80
## 323    French        F   Father          10               15
## 324    French        S   Father          30               10
## 325    French        F   Father          24               35
## 326    French        S   Father          27               20
## 327    French        F   Father          10               15
## 328    French        S   Father          30               10
## 329    French        F      Mum          80               77
## 330    French        S      Mum          75               85
## 331    French        F   Father          40                7
## 332    French        S   Father          35                2
## 333    French        F      Mum          10               90
## 334    French        S      Mum          25               80
## 335    French        F      Mum          10                8
## 336    French        S      Mum          15                7
## 337    French        F      Mum          70               90
## 338    French        S      Mum          75               80
## 339    French        F   Father          78               98
## 340    French        S   Father          79               89
## 341    French        F   Father          16               90
## 342    French        S   Father          17               80
## 343    French        F      Mum          40               87
## 344    French        S      Mum          35               92
## 345    French        F      Mum          14               97
## 346    French        F      Mum          13               82
## 347    French        S      Mum          24               97
## 348    French        S      Mum          23               82
## 349    French        F      Mum          20                3
## 350    French        S      Mum          15                4
## 351    French        F      Mum           5               13
## 352    French        S      Mum           7                9
## 353    French        F      Mum          10               94
## 354    French        S      Mum          25               89
## 355    French        F      Mum          30               98
## 356    French        S      Mum          35               97
## 357    French        F   Father          32               88
## 358    French        S   Father          25               87
## 359    French        F      Mum          72               98
## 360    French        S      Mum          75               90
## 361    Arabic        F   Father          20               88
## 362    Arabic        S   Father          10               98
## 363    Arabic        F   Father          90               98
## 364    Arabic        S   Father          80               88
## 365    Arabic        F   Father          80               95
## 366    Arabic        S   Father          78               70
## 367    Arabic        F   Father          10               18
## 368    Arabic        S   Father          10               58
## 369    Arabic        F      Mum          98               88
## 370    Arabic        S      Mum          75               81
## 371    Arabic        F   Father          10               17
## 372    Arabic        S   Father          35                2
## 373    Arabic        F   Father          10               20
## 374    Arabic        S   Father           5                9
## 375    Arabic        F   Father          10               10
## 376    Arabic        S   Father          35                2
## 377    Arabic        F      Mum          20               90
## 378    Arabic        S      Mum          32               82
## 379    Arabic        F   Father          10               30
## 380    Arabic        S   Father          12               22
## 381    Arabic        F   Father          11               20
## 382    Arabic        S   Father          10               12
## 383    Arabic        F      Mum          69               82
## 384    Arabic        S      Mum          70               83
## 385    Arabic        F      Mum          89               92
## 386    Arabic        S      Mum          79               93
## 387    Arabic        F      Mum          15               90
## 388    Arabic        S      Mum          20               77
## 389    Arabic        F      Mum           4               10
## 390    Arabic        S      Mum           5                0
## 391   Biology        F      Mum          88               81
## 392   Biology        S      Mum          90               88
## 393   Biology        F      Mum          86               98
## 394   Biology        S      Mum          90               90
## 395   Biology        F      Mum          78               91
## 396   Biology        S      Mum          70               98
## 397   Biology        F   Father          80               80
## 398   Biology        S   Father          85               82
## 399   Biology        F   Father          88               90
## 400   Biology        S   Father          89               92
## 401   Biology        F   Father          39               71
## 402   Biology        S   Father          35               80
## 403   Biology        F   Father          76               81
## 404   Biology        S   Father          65               89
## 405   Biology        F      Mum          96               95
## 406   Biology        S      Mum          80               91
## 407   Biology        F      Mum           2                9
## 408   Biology        S      Mum           3                8
## 409   Biology        F   Father          50               79
## 410   Biology        S   Father          53               88
## 411   Biology        F      Mum          70               89
## 412   Biology        S      Mum          59               90
## 413   Biology        F   Father          78               80
## 414   Biology        S   Father          79               72
## 415   Biology        F      Mum          10                9
## 416   Biology        S      Mum           9                7
## 417   Biology        F   Father          98               90
## 418   Biology        S   Father          89               92
## 419   Biology        F   Father          88               90
## 420   Biology        S   Father          99               96
## 421 Chemistry        F      Mum          82               89
## 422 Chemistry        S      Mum          84               92
## 423   Geology        F      Mum          70               69
## 424   Geology        S      Mum          74               62
## 425   Geology        F      Mum          90               79
## 426   Geology        S      Mum          84               77
## 427 Chemistry        F      Mum          80               80
## 428 Chemistry        S      Mum          81               82
## 429 Chemistry        F   Father          10                0
## 430 Chemistry        S   Father          11                2
## 431   Geology        F   Father          85               89
## 432   Geology        S   Father          80               89
## 433   Geology        F   Father          95               87
## 434   Geology        S   Father          87               79
## 435 Chemistry        F      Mum          85               87
## 436 Chemistry        S      Mum          79               88
## 437   Geology        F      Mum          80               81
## 438   Geology        S      Mum          70               83
## 439 Chemistry        F      Mum          80               82
## 440 Chemistry        S      Mum          70               82
## 441   Geology        F      Mum          89               87
## 442   Geology        S      Mum          90               86
## 443   History        F      Mum          69               77
## 444   History        S      Mum          70               76
## 445 Chemistry        F      Mum          75               72
## 446 Chemistry        S      Mum          72               76
## 447   Geology        F      Mum          77               82
## 448   Geology        S      Mum          71               84
## 449   History        F      Mum          87               92
## 450   History        S      Mum          81               84
## 451 Chemistry        F   Father          15               97
## 452 Chemistry        S   Father          19               98
## 453   Geology        F   Father          25               82
## 454   Geology        S   Father          29               78
## 455   History        F   Father          45               87
## 456   History        S   Father          39               88
## 457 Chemistry        F   Father          85               90
## 458 Chemistry        S   Father          79               91
## 459 Chemistry        F   Father          90               91
## 460 Chemistry        S   Father          80               90
## 461   Geology        F   Father          80               83
## 462   Geology        S   Father          71               81
## 463   History        F   Father          72               87
## 464   History        S   Father          69               77
## 465 Chemistry        F      Mum          85               99
## 466 Chemistry        S      Mum          89               96
## 467   Geology        F      Mum          80               82
## 468   Geology        S      Mum          87               93
## 469 Chemistry        F   Father          15                9
## 470 Chemistry        S   Father           9                6
## 471   History        F   Father          81               86
## 472   History        S   Father          78               82
## 473   Geology        F   Father          80               87
## 474   Geology        S   Father          85               88
## 475 Chemistry        F   Father           2                7
## 476 Chemistry        S   Father           5                4
## 477   Geology        F   Father          50               77
## 478   Geology        S   Father          55               74
## 479   History        F   Father          30               17
## 480   History        S   Father          35               14
##     AnnouncementsView Discussion ParentAnsweringSurvey
## 1                   2         20                   Yes
## 2                   3         25                   Yes
## 3                   0         30                    No
## 4                   5         35                    No
## 5                  12         50                    No
## 6                  13         70                   Yes
## 7                   0         17                    No
## 8                  15         22                   Yes
## 9                  16         50                   Yes
## 10                 25         70                   Yes
## 11                 30         80                   Yes
## 12                 19         12                   Yes
## 13                  0         11                    No
## 14                 12         19                    No
## 15                 44         60                    No
## 16                 22         66                   Yes
## 17                 20         80                    No
## 18                 35         90                    No
## 19                 36         96                   Yes
## 20                 40         99                   Yes
## 21                 33         90                    No
## 22                  4         80                    No
## 23                  2         90                    No
## 24                  2         50                    No
## 25                  3         70                   Yes
## 26                 30         40                   Yes
## 27                 25         40                   Yes
## 28                 12         33                    No
## 29                 52         43                   Yes
## 30                 33         35                    No
## 31                 50         70                   Yes
## 32                 40         16                   Yes
## 33                 10         50                   Yes
## 34                  9         40                    No
## 35                  8         40                    No
## 36                 17         30                    No
## 37                  4         22                   Yes
## 38                 26         90                   Yes
## 39                  0          4                    No
## 40                 37         70                   Yes
## 41                  3         70                    No
## 42                 16         50                    No
## 43                  7         33                   Yes
## 44                 28         90                   Yes
## 45                 30         90                    No
## 46                 15         70                    No
## 47                  1         30                    No
## 48                 39         90                   Yes
## 49                 40         88                   Yes
## 50                 50         77                   Yes
## 51                 12         70                    No
## 52                 16         50                    No
## 53                 16         40                    No
## 54                 19         75                   Yes
## 55                  8         30                    No
## 56                  6         20                   Yes
## 57                  4          1                   Yes
## 58                  6          5                   Yes
## 59                 19         50                   Yes
## 60                 22         40                    No
## 61                 28         20                    No
## 62                 32         40                   Yes
## 63                 70         80                   Yes
## 64                 16         12                   Yes
## 65                  7          2                    No
## 66                 18         19                    No
## 67                 19         30                    No
## 68                 23         80                   Yes
## 69                 35         30                   Yes
## 70                 11         33                    No
## 71                 10         12                   Yes
## 72                  9         20                   Yes
## 73                  2          8                    No
## 74                 26         19                   Yes
## 75                  6         13                    No
## 76                 29         60                   Yes
## 77                 37         44                   Yes
## 78                 33         33                   Yes
## 79                 11          9                    No
## 80                 49         55                   Yes
## 81                 10         40                   Yes
## 82                  1         70                    No
## 83                  2         80                   Yes
## 84                 10         50                    No
## 85                 50         10                   Yes
## 86                  1         12                    No
## 87                 40         50                   Yes
## 88                  3         50                    No
## 89                  4         33                    No
## 90                  1         50                   Yes
## 91                 10         60                   Yes
## 92                 55         19                   Yes
## 93                 19         15                   Yes
## 94                 40         40                   Yes
## 95                 35         10                    No
## 96                  2         70                    No
## 97                 11         75                   Yes
## 98                 38         12                    No
## 99                  0         30                    No
## 100                 9         50                   Yes
## 101                40         90                   Yes
## 102                50          7                   Yes
## 103                 2          8                    No
## 104                 6         10                    No
## 105                 3          3                   Yes
## 106                 5         80                   Yes
## 107                 7         40                   Yes
## 108                41         33                   Yes
## 109                 5          3                    No
## 110                30         14                    No
## 111                55         40                   Yes
## 112                51         80                    No
## 113                 3         50                    No
## 114                 0         69                    No
## 115                 0         50                    No
## 116                11         70                   Yes
## 117                12         19                   Yes
## 118                40         17                    No
## 119                23         22                   Yes
## 120                 3         60                    No
## 121                 0         50                   Yes
## 122                 8         30                    No
## 123                55         12                   Yes
## 124                 7          5                   Yes
## 125                 4         15                   Yes
## 126                 0         17                    No
## 127                 7         55                   Yes
## 128                 6          9                    No
## 129                20         16                    No
## 130                 2          2                   Yes
## 131                 5         30                    No
## 132                20         50                   Yes
## 133                10          3                    No
## 134                 0         70                   Yes
## 135                15         70                   Yes
## 136                95         70                   Yes
## 137                95         70                   Yes
## 138                50         40                    No
## 139                95         90                    No
## 140                85         70                    No
## 141                 5         20                   Yes
## 142                50         10                    No
## 143                55         11                   Yes
## 144                55         19                   Yes
## 145                15         19                    No
## 146                55         11                   Yes
## 147                50         70                   Yes
## 148                30         30                    No
## 149                30         40                    No
## 150                50         70                   Yes
## 151                51         59                   Yes
## 152                71         89                   Yes
## 153                98         40                   Yes
## 154                40         40                    No
## 155                33         41                    No
## 156                73         91                   Yes
## 157                30         49                   Yes
## 158                33         40                    No
## 159                48         10                    No
## 160                48         80                   Yes
## 161                58         50                   Yes
## 162                58         66                    No
## 163                 3         73                    No
## 164                93         43                    No
## 165                83         14                   Yes
## 166                73         66                   Yes
## 167                53         43                    No
## 168                83         43                   Yes
## 169                23         33                   Yes
## 170                29         23                    No
## 171                83         33                   Yes
## 172                23         33                    No
## 173                53         13                    No
## 174                23         33                   Yes
## 175                73         43                   Yes
## 176                13         53                    No
## 177                23         33                   Yes
## 178                83         11                   Yes
## 179                33         13                   Yes
## 180                20         33                    No
## 181                63         93                   Yes
## 182                13         33                    No
## 183                62         53                   Yes
## 184                32         53                    No
## 185                30         13                    No
## 186                82         33                   Yes
## 187                22         53                   Yes
## 188                52         51                   Yes
## 189                72         53                   Yes
## 190                12         23                    No
## 191                32         53                    No
## 192                37         13                   Yes
## 193                62         53                   Yes
## 194                62         53                    No
## 195                72         23                    No
## 196                42         33                   Yes
## 197                62         53                   Yes
## 198                62         53                    No
## 199                42         53                    No
## 200                12         13                    No
## 201                52         83                   Yes
## 202                52         43                   Yes
## 203                12         33                   Yes
## 204                42         40                   Yes
## 205                12         24                    No
## 206                42         24                   Yes
## 207                42         14                   Yes
## 208                42         14                   Yes
## 209                49         14                    No
## 210                39         84                    No
## 211                82         14                   Yes
## 212                42         14                    No
## 213                42         19                   Yes
## 214                22         14                    No
## 215                 2          4                    No
## 216                42         14                    No
## 217                32         61                   Yes
## 218                40         10                   Yes
## 219                42         94                   Yes
## 220                46         34                   Yes
## 221                41         13                   Yes
## 222                40         24                    No
## 223                82         40                   Yes
## 224                12         90                   Yes
## 225                22         70                   Yes
## 226                12         30                    No
## 227                62         30                    No
## 228                 2         10                   Yes
## 229                77         81                   Yes
## 230                21         10                    No
## 231                12         29                    No
## 232                21         20                   Yes
## 233                15         50                   Yes
## 234                58         46                   Yes
## 235                58         66                   Yes
## 236                18         26                    No
## 237                13          6                    No
## 238                58         66                   Yes
## 239                58         66                   Yes
## 240                88         76                   Yes
## 241                98         96                   Yes
## 242                58         86                   Yes
## 243                18          6                    No
## 244                38         46                    No
## 245                83         85                   Yes
## 246                52         66                   Yes
## 247                62         77                   Yes
## 248                82         96                    No
## 249                 2         16                    No
## 250                62         40                    No
## 251                32         40                   Yes
## 252                32         17                    No
## 253                82         94                    No
## 254                12         44                    No
## 255                42         70                   Yes
## 256                12         40                   Yes
## 257                72         60                    No
## 258                66         65                    No
## 259                86         95                   Yes
## 260                12         17                    No
## 261                12         14                    No
## 262                82         64                   Yes
## 263                52         34                   Yes
## 264                42          7                    No
## 265                42         32                    No
## 266                82         37                    No
## 267                12         17                   Yes
## 268                32         29                   Yes
## 269                10         10                   Yes
## 270                40         20                   Yes
## 271                52         30                    No
## 272                32         36                    No
## 273                 2         16                    No
## 274                 6         26                    No
## 275                82         70                   Yes
## 276                80         60                   Yes
## 277                22         26                   Yes
## 278                42         27                   Yes
## 279                52         25                    No
## 280                46         27                    No
## 281                56         37                    No
## 282                56         37                    No
## 283                72         80                    No
## 284                82         86                    No
## 285                32         36                    No
## 286                35         39                   Yes
## 287                85         89                   Yes
## 288                91         85                   Yes
## 289                65         69                   Yes
## 290                76         80                   Yes
## 291                32         44                    No
## 292                12         24                    No
## 293                82         74                   Yes
## 294                72         84                   Yes
## 295                82         74                   Yes
## 296                72         84                   Yes
## 297                86         84                    No
## 298                82         89                    No
## 299                26         34                    No
## 300                32         29                    No
## 301                20         13                    No
## 302                15          9                    No
## 303                21         23                    No
## 304                25         39                    No
## 305                24         43                   Yes
## 306                29         89                   Yes
## 307                74         83                   Yes
## 308                59         89                   Yes
## 309                74         89                   Yes
## 310                79         79                   Yes
## 311                34         33                    No
## 312                29         39                    No
## 313                44         43                   Yes
## 314                69         49                   Yes
## 315                74         83                   Yes
## 316                89         89                   Yes
## 317                83         23                   Yes
## 318                83         13                   Yes
## 319                13          3                   Yes
## 320                23         10                   Yes
## 321                23         11                   Yes
## 322                20         15                   Yes
## 323                10         21                    No
## 324                20          5                    No
## 325                18         31                    No
## 326                33         35                    No
## 327                10         21                    No
## 328                20          5                    No
## 329                63         83                   Yes
## 330                73         80                   Yes
## 331                50         41                    No
## 332                29         33                    No
## 333                30         21                    No
## 334                29         23                    No
## 335                 9          3                    No
## 336                12          7                    No
## 337                20         21                    No
## 338                15         20                    No
## 339                10         11                    No
## 340                11         14                    No
## 341                15         11                    No
## 342                13         10                    No
## 343                50         41                    No
## 344                29         33                    No
## 345                15         14                    No
## 346                20         30                    No
## 347                15         14                    No
## 348                20         30                    No
## 349                 9          3                    No
## 350                12          7                    No
## 351                 6          6                    No
## 352                11         10                    No
## 353                40         11                   Yes
## 354                21         13                   Yes
## 355                42         21                   Yes
## 356                41         23                   Yes
## 357                32         25                   Yes
## 358                21         27                   Yes
## 359                52         15                   Yes
## 360                51         17                   Yes
## 361                31         28                   Yes
## 362                41         38                   Yes
## 363                41         38                   Yes
## 364                51         39                   Yes
## 365                21         28                   Yes
## 366                31         29                   Yes
## 367                71         38                   Yes
## 368                51         48                   Yes
## 369                60         31                    No
## 370                51         34                    No
## 371                50         21                    No
## 372                29         23                    No
## 373                22         97                    No
## 374                19         98                    No
## 375                40         51                    No
## 376                29         23                    No
## 377                50         61                   Yes
## 378                59         63                   Yes
## 379                50         91                   Yes
## 380                59         83                   Yes
## 381                20         98                    No
## 382                29         93                    No
## 383                20         28                   Yes
## 384                29         33                   Yes
## 385                40         28                   Yes
## 386                49         23                   Yes
## 387                21         97                   Yes
## 388                31         88                   Yes
## 389                11          7                    No
## 390                 1          8                    No
## 391                50         10                   Yes
## 392                54         12                   Yes
## 393                50         20                   Yes
## 394                57         22                   Yes
## 395                50         40                   Yes
## 396                54         72                   Yes
## 397                46         61                   Yes
## 398                59         63                   Yes
## 399                86         81                   Yes
## 400                89         83                   Yes
## 401                40         26                    No
## 402                34         22                    No
## 403                80         86                    No
## 404                64         82                    No
## 405                70         70                   Yes
## 406                87         72                   Yes
## 407                10          1                    No
## 408                19          3                    No
## 409                10         31                    No
## 410                 9         33                    No
## 411                12         21                    No
## 412                19         43                    No
## 413                66         51                   Yes
## 414                79         83                   Yes
## 415                 2          1                    No
## 416                 9          3                    No
## 417                86         71                   Yes
## 418                89         83                   Yes
## 419                76         81                   Yes
## 420                89         84                   Yes
## 421                22         31                   Yes
## 422                29         43                   Yes
## 423                46         45                   Yes
## 424                49         43                   Yes
## 425                76         79                   Yes
## 426                79         68                   Yes
## 427                62         11                   Yes
## 428                69         13                   Yes
## 429                 2         41                    No
## 430                 9         49                    No
## 431                22         61                    No
## 432                23         68                    No
## 433                62         81                    No
## 434                73         98                    No
## 435                72         10                   Yes
## 436                79         20                   Yes
## 437                71         30                   Yes
## 438                70         23                   Yes
## 439                76         19                   Yes
## 440                75         29                   Yes
## 441                86         15                   Yes
## 442                85         10                   Yes
## 443                76         75                   Yes
## 444                65         70                   Yes
## 445                64         39                   Yes
## 446                66         40                   Yes
## 447                74         79                   Yes
## 448                67         80                   Yes
## 449                74         89                   Yes
## 450                77         85                   Yes
## 451                22         10                   Yes
## 452                20          2                   Yes
## 453                52         20                   Yes
## 454                40         12                   Yes
## 455                57         80                   Yes
## 456                43         72                   Yes
## 457                52         30                   Yes
## 458                49         22                   Yes
## 459                80         81                   Yes
## 460                80         83                   Yes
## 461                82         71                   Yes
## 462                83         72                   Yes
## 463                72         89                   Yes
## 464                83         92                   Yes
## 465                42         90                   Yes
## 466                45         92                   Yes
## 467                64         58                   Yes
## 468                63         60                   Yes
## 469                14         80                    No
## 470                15         85                    No
## 471                86         41                   Yes
## 472                78         53                   Yes
## 473                74         68                   Yes
## 474                79         70                   Yes
## 475                 4          8                    No
## 476                 5          8                    No
## 477                14         28                    No
## 478                25         29                    No
## 479                14         57                    No
## 480                23         62                    No
##     ParentschoolSatisfaction StudentAbsenceDays Class
## 1                       Good            Under-7     M
## 2                       Good            Under-7     M
## 3                        Bad            Above-7     L
## 4                        Bad            Above-7     L
## 5                        Bad            Above-7     M
## 6                        Bad            Above-7     M
## 7                        Bad            Above-7     L
## 8                       Good            Under-7     M
## 9                       Good            Under-7     M
## 10                      Good            Under-7     M
## 11                      Good            Under-7     H
## 12                      Good            Under-7     M
## 13                       Bad            Above-7     L
## 14                       Bad            Above-7     L
## 15                       Bad            Above-7     H
## 16                      Good            Under-7     M
## 17                       Bad            Above-7     M
## 18                       Bad            Above-7     M
## 19                      Good            Under-7     M
## 20                      Good            Under-7     H
## 21                       Bad            Above-7     M
## 22                       Bad            Under-7     M
## 23                       Bad            Under-7     M
## 24                       Bad            Above-7     L
## 25                      Good            Above-7     L
## 26                      Good            Above-7     L
## 27                       Bad            Under-7     M
## 28                       Bad            Above-7     L
## 29                      Good            Under-7     M
## 30                       Bad            Under-7     M
## 31                      Good            Under-7     H
## 32                      Good            Above-7     L
## 33                      Good            Above-7     L
## 34                       Bad            Above-7     L
## 35                       Bad            Above-7     L
## 36                       Bad            Above-7     L
## 37                      Good            Above-7     L
## 38                      Good            Under-7     M
## 39                       Bad            Above-7     L
## 40                      Good            Under-7     M
## 41                       Bad            Above-7     L
## 42                      Good            Under-7     M
## 43                      Good            Above-7     L
## 44                      Good            Under-7     M
## 45                       Bad            Under-7     M
## 46                      Good            Above-7     L
## 47                       Bad            Above-7     L
## 48                      Good            Under-7     H
## 49                      Good            Under-7     H
## 50                      Good            Under-7     M
## 51                       Bad            Above-7     L
## 52                      Good            Above-7     L
## 53                       Bad            Under-7     M
## 54                      Good            Under-7     H
## 55                       Bad            Above-7     L
## 56                      Good            Above-7     L
## 57                      Good            Above-7     L
## 58                      Good            Above-7     L
## 59                      Good            Under-7     M
## 60                      Good            Under-7     M
## 61                      Good            Above-7     L
## 62                      Good            Under-7     M
## 63                      Good            Under-7     H
## 64                       Bad            Under-7     M
## 65                       Bad            Above-7     L
## 66                       Bad            Above-7     L
## 67                       Bad            Above-7     M
## 68                      Good            Under-7     H
## 69                      Good            Under-7     H
## 70                       Bad            Under-7     M
## 71                      Good            Above-7     L
## 72                      Good            Under-7     M
## 73                       Bad            Under-7     L
## 74                       Bad            Above-7     M
## 75                       Bad            Under-7     L
## 76                      Good            Under-7     M
## 77                      Good            Under-7     M
## 78                      Good            Under-7     M
## 79                       Bad            Above-7     L
## 80                       Bad            Under-7     H
## 81                       Bad            Under-7     L
## 82                       Bad            Above-7     L
## 83                      Good            Above-7     L
## 84                      Good            Above-7     M
## 85                      Good            Above-7     H
## 86                       Bad            Above-7     L
## 87                      Good            Under-7     H
## 88                       Bad            Under-7     L
## 89                       Bad            Under-7     L
## 90                      Good            Above-7     L
## 91                      Good            Above-7     L
## 92                      Good            Under-7     H
## 93                      Good            Under-7     H
## 94                      Good            Under-7     H
## 95                      Good            Above-7     L
## 96                       Bad            Under-7     H
## 97                      Good            Under-7     H
## 98                       Bad            Under-7     M
## 99                       Bad            Under-7     M
## 100                      Bad            Above-7     M
## 101                      Bad            Under-7     M
## 102                     Good            Under-7     H
## 103                      Bad            Above-7     L
## 104                      Bad            Above-7     L
## 105                     Good            Above-7     M
## 106                     Good            Above-7     L
## 107                     Good            Under-7     M
## 108                      Bad            Under-7     H
## 109                      Bad            Above-7     M
## 110                      Bad            Under-7     M
## 111                     Good            Under-7     H
## 112                     Good            Under-7     M
## 113                      Bad            Above-7     L
## 114                      Bad            Above-7     L
## 115                      Bad            Above-7     L
## 116                     Good            Above-7     L
## 117                     Good            Above-7     M
## 118                     Good            Under-7     H
## 119                     Good            Above-7     M
## 120                      Bad            Under-7     M
## 121                     Good            Under-7     M
## 122                      Bad            Above-7     L
## 123                     Good            Above-7     M
## 124                     Good            Under-7     M
## 125                      Bad            Under-7     L
## 126                     Good            Above-7     L
## 127                     Good            Under-7     M
## 128                      Bad            Above-7     L
## 129                      Bad            Under-7     L
## 130                     Good            Under-7     L
## 131                      Bad            Above-7     L
## 132                     Good            Under-7     M
## 133                      Bad            Above-7     L
## 134                     Good            Above-7     L
## 135                     Good            Under-7     H
## 136                     Good            Under-7     H
## 137                     Good            Under-7     H
## 138                      Bad            Under-7     M
## 139                      Bad            Under-7     H
## 140                      Bad            Under-7     M
## 141                      Bad            Above-7     L
## 142                      Bad            Above-7     L
## 143                     Good            Under-7     M
## 144                     Good            Under-7     H
## 145                      Bad            Above-7     L
## 146                      Bad            Under-7     M
## 147                     Good            Under-7     H
## 148                      Bad            Under-7     M
## 149                      Bad            Under-7     M
## 150                      Bad            Under-7     H
## 151                     Good            Under-7     H
## 152                     Good            Under-7     M
## 153                      Bad            Under-7     H
## 154                      Bad            Above-7     L
## 155                      Bad            Above-7     M
## 156                      Bad            Under-7     H
## 157                     Good            Under-7     M
## 158                     Good            Under-7     M
## 159                      Bad            Above-7     L
## 160                     Good            Under-7     M
## 161                     Good            Under-7     H
## 162                      Bad            Under-7     M
## 163                      Bad            Under-7     H
## 164                      Bad            Above-7     M
## 165                     Good            Above-7     M
## 166                     Good            Under-7     H
## 167                      Bad            Under-7     M
## 168                     Good            Under-7     H
## 169                     Good            Under-7     H
## 170                      Bad            Under-7     M
## 171                     Good            Under-7     H
## 172                     Good            Under-7     M
## 173                     Good            Above-7     L
## 174                     Good            Above-7     L
## 175                      Bad            Above-7     M
## 176                      Bad            Above-7     L
## 177                      Bad            Under-7     H
## 178                      Bad            Under-7     M
## 179                      Bad            Under-7     H
## 180                      Bad            Under-7     M
## 181                      Bad            Under-7     H
## 182                      Bad            Above-7     L
## 183                      Bad            Under-7     H
## 184                      Bad            Under-7     M
## 185                      Bad            Above-7     L
## 186                     Good            Under-7     H
## 187                     Good            Under-7     M
## 188                     Good            Under-7     M
## 189                     Good            Under-7     H
## 190                      Bad            Under-7     M
## 191                      Bad            Under-7     L
## 192                     Good            Above-7     L
## 193                     Good            Under-7     M
## 194                      Bad            Under-7     M
## 195                      Bad            Under-7     M
## 196                     Good            Under-7     M
## 197                     Good            Under-7     H
## 198                      Bad            Under-7     H
## 199                      Bad            Above-7     L
## 200                      Bad            Under-7     M
## 201                      Bad            Under-7     H
## 202                     Good            Under-7     H
## 203                     Good            Under-7     M
## 204                      Bad            Under-7     M
## 205                      Bad            Above-7     L
## 206                      Bad            Above-7     H
## 207                     Good            Under-7     M
## 208                     Good            Under-7     M
## 209                      Bad            Under-7     M
## 210                      Bad            Under-7     M
## 211                     Good            Under-7     H
## 212                      Bad            Under-7     M
## 213                     Good            Under-7     H
## 214                      Bad            Above-7     L
## 215                      Bad            Above-7     L
## 216                     Good            Above-7     L
## 217                      Bad            Above-7     M
## 218                     Good            Under-7     M
## 219                      Bad            Under-7     H
## 220                     Good            Under-7     M
## 221                     Good            Under-7     M
## 222                     Good            Under-7     M
## 223                      Bad            Under-7     M
## 224                     Good            Under-7     H
## 225                      Bad            Under-7     H
## 226                      Bad            Under-7     M
## 227                      Bad            Under-7     L
## 228                     Good            Under-7     L
## 229                     Good            Above-7     H
## 230                      Bad            Above-7     L
## 231                      Bad            Above-7     M
## 232                     Good            Above-7     L
## 233                     Good            Above-7     M
## 234                     Good            Above-7     M
## 235                     Good            Above-7     M
## 236                      Bad            Above-7     L
## 237                      Bad            Above-7     L
## 238                     Good            Above-7     M
## 239                     Good            Above-7     M
## 240                     Good            Under-7     H
## 241                      Bad            Under-7     H
## 242                     Good            Under-7     M
## 243                      Bad            Above-7     L
## 244                      Bad            Above-7     M
## 245                      Bad            Under-7     H
## 246                      Bad            Under-7     M
## 247                     Good            Under-7     H
## 248                      Bad            Above-7     M
## 249                      Bad            Above-7     L
## 250                     Good            Above-7     M
## 251                     Good            Under-7     H
## 252                     Good            Above-7     L
## 253                      Bad            Under-7     M
## 254                      Bad            Above-7     L
## 255                     Good            Under-7     H
## 256                     Good            Under-7     H
## 257                     Good            Under-7     H
## 258                     Good            Under-7     M
## 259                     Good            Under-7     M
## 260                      Bad            Above-7     L
## 261                      Bad            Above-7     L
## 262                      Bad            Above-7     M
## 263                     Good            Above-7     M
## 264                      Bad            Above-7     M
## 265                      Bad            Under-7     M
## 266                      Bad            Under-7     H
## 267                     Good            Above-7     M
## 268                     Good            Above-7     M
## 269                      Bad            Above-7     M
## 270                      Bad            Above-7     M
## 271                     Good            Under-7     H
## 272                     Good            Under-7     M
## 273                      Bad            Under-7     M
## 274                      Bad            Under-7     H
## 275                     Good            Under-7     H
## 276                     Good            Under-7     H
## 277                     Good            Under-7     H
## 278                     Good            Under-7     H
## 279                     Good            Under-7     M
## 280                     Good            Under-7     M
## 281                     Good            Under-7     H
## 282                     Good            Under-7     H
## 283                     Good            Under-7     H
## 284                     Good            Under-7     H
## 285                      Bad            Above-7     M
## 286                      Bad            Above-7     M
## 287                     Good            Under-7     H
## 288                     Good            Under-7     H
## 289                     Good            Under-7     M
## 290                     Good            Under-7     M
## 291                      Bad            Above-7     L
## 292                      Bad            Above-7     L
## 293                     Good            Under-7     H
## 294                     Good            Under-7     H
## 295                     Good            Above-7     M
## 296                     Good            Above-7     M
## 297                     Good            Under-7     H
## 298                     Good            Under-7     H
## 299                     Good            Above-7     M
## 300                     Good            Above-7     M
## 301                      Bad            Above-7     L
## 302                      Bad            Above-7     L
## 303                      Bad            Under-7     M
## 304                      Bad            Under-7     M
## 305                      Bad            Under-7     M
## 306                      Bad            Under-7     M
## 307                     Good            Under-7     H
## 308                     Good            Under-7     H
## 309                     Good            Above-7     M
## 310                     Good            Above-7     M
## 311                     Good            Above-7     M
## 312                     Good            Above-7     M
## 313                     Good            Under-7     H
## 314                     Good            Under-7     H
## 315                     Good            Under-7     H
## 316                     Good            Under-7     H
## 317                     Good            Under-7     H
## 318                     Good            Under-7     H
## 319                     Good            Under-7     H
## 320                     Good            Under-7     H
## 321                     Good            Above-7     M
## 322                     Good            Above-7     M
## 323                      Bad            Above-7     L
## 324                      Bad            Above-7     L
## 325                      Bad            Under-7     M
## 326                      Bad            Under-7     M
## 327                      Bad            Above-7     L
## 328                      Bad            Above-7     L
## 329                     Good            Under-7     M
## 330                     Good            Under-7     M
## 331                     Good            Above-7     L
## 332                     Good            Above-7     L
## 333                     Good            Under-7     M
## 334                     Good            Under-7     M
## 335                     Good            Above-7     L
## 336                     Good            Above-7     L
## 337                     Good            Under-7     M
## 338                     Good            Under-7     M
## 339                     Good            Under-7     M
## 340                     Good            Under-7     M
## 341                     Good            Under-7     M
## 342                     Good            Under-7     M
## 343                      Bad            Under-7     M
## 344                      Bad            Under-7     M
## 345                     Good            Under-7     H
## 346                     Good            Under-7     H
## 347                     Good            Under-7     H
## 348                     Good            Under-7     H
## 349                     Good            Above-7     L
## 350                     Good            Above-7     L
## 351                     Good            Above-7     L
## 352                     Good            Above-7     L
## 353                     Good            Under-7     M
## 354                     Good            Under-7     M
## 355                     Good            Under-7     H
## 356                     Good            Under-7     H
## 357                     Good            Under-7     M
## 358                     Good            Under-7     M
## 359                     Good            Under-7     H
## 360                     Good            Under-7     H
## 361                     Good            Above-7     M
## 362                     Good            Above-7     M
## 363                     Good            Under-7     H
## 364                     Good            Under-7     H
## 365                     Good            Under-7     H
## 366                     Good            Under-7     H
## 367                     Good            Above-7     M
## 368                     Good            Above-7     M
## 369                     Good            Under-7     H
## 370                     Good            Under-7     H
## 371                      Bad            Under-7     M
## 372                      Bad            Under-7     M
## 373                      Bad            Above-7     L
## 374                      Bad            Above-7     L
## 375                      Bad            Above-7     L
## 376                      Bad            Above-7     L
## 377                      Bad            Above-7     M
## 378                      Bad            Above-7     M
## 379                      Bad            Above-7     L
## 380                      Bad            Above-7     L
## 381                      Bad            Above-7     L
## 382                      Bad            Above-7     L
## 383                     Good            Under-7     H
## 384                     Good            Under-7     H
## 385                     Good            Under-7     H
## 386                     Good            Under-7     H
## 387                     Good            Under-7     M
## 388                     Good            Under-7     M
## 389                     Good            Above-7     L
## 390                     Good            Above-7     L
## 391                     Good            Above-7     M
## 392                     Good            Above-7     M
## 393                     Good            Under-7     H
## 394                     Good            Under-7     H
## 395                     Good            Under-7     H
## 396                     Good            Under-7     H
## 397                      Bad            Under-7     M
## 398                      Bad            Under-7     M
## 399                     Good            Under-7     H
## 400                     Good            Under-7     H
## 401                     Good            Above-7     M
## 402                     Good            Above-7     M
## 403                     Good            Under-7     H
## 404                     Good            Under-7     H
## 405                     Good            Under-7     H
## 406                     Good            Under-7     H
## 407                      Bad            Above-7     L
## 408                      Bad            Above-7     L
## 409                      Bad            Under-7     M
## 410                      Bad            Under-7     M
## 411                     Good            Under-7     H
## 412                     Good            Under-7     H
## 413                     Good            Under-7     M
## 414                     Good            Under-7     M
## 415                     Good            Above-7     L
## 416                     Good            Above-7     L
## 417                     Good            Under-7     H
## 418                     Good            Under-7     H
## 419                     Good            Under-7     H
## 420                     Good            Under-7     H
## 421                     Good            Under-7     H
## 422                     Good            Under-7     H
## 423                     Good            Above-7     M
## 424                     Good            Above-7     M
## 425                     Good            Under-7     H
## 426                     Good            Under-7     H
## 427                     Good            Above-7     M
## 428                     Good            Above-7     M
## 429                      Bad            Above-7     L
## 430                      Bad            Above-7     L
## 431                      Bad            Under-7     H
## 432                      Bad            Under-7     H
## 433                      Bad            Under-7     M
## 434                      Bad            Under-7     M
## 435                     Good            Above-7     M
## 436                     Good            Above-7     M
## 437                     Good            Under-7     M
## 438                     Good            Under-7     M
## 439                     Good            Under-7     M
## 440                     Good            Under-7     M
## 441                     Good            Under-7     M
## 442                     Good            Under-7     M
## 443                     Good            Above-7     M
## 444                     Good            Above-7     M
## 445                     Good            Above-7     L
## 446                     Good            Above-7     L
## 447                     Good            Under-7     M
## 448                     Good            Under-7     M
## 449                     Good            Under-7     H
## 450                     Good            Under-7     H
## 451                     Good            Under-7     H
## 452                     Good            Under-7     H
## 453                     Good            Above-7     M
## 454                     Good            Above-7     M
## 455                     Good            Under-7     M
## 456                     Good            Under-7     M
## 457                     Good            Under-7     H
## 458                     Good            Under-7     H
## 459                     Good            Under-7     H
## 460                     Good            Under-7     H
## 461                     Good            Above-7     M
## 462                     Good            Above-7     M
## 463                     Good            Above-7     M
## 464                     Good            Above-7     M
## 465                     Good            Under-7     H
## 466                     Good            Under-7     H
## 467                     Good            Under-7     H
## 468                     Good            Under-7     H
## 469                      Bad            Above-7     L
## 470                      Bad            Above-7     L
## 471                     Good            Under-7     M
## 472                     Good            Under-7     M
## 473                     Good            Under-7     M
## 474                     Good            Under-7     M
## 475                      Bad            Above-7     L
## 476                      Bad            Above-7     L
## 477                      Bad            Under-7     M
## 478                      Bad            Under-7     M
## 479                      Bad            Above-7     L
## 480                      Bad            Above-7     L
str(E)
## 'data.frame':    480 obs. of  17 variables:
##  $ gender                  : Factor w/ 2 levels "F","M": 2 2 2 2 2 1 2 2 1 1 ...
##  $ NationalITy             : Factor w/ 14 levels "Egypt","Iran",..: 5 5 5 5 5 5 5 5 5 5 ...
##  $ PlaceofBirth            : Factor w/ 14 levels "Egypt","Iran",..: 5 5 5 5 5 5 5 5 5 5 ...
##  $ StageID                 : Factor w/ 3 levels "HighSchool","lowerlevel",..: 2 2 2 2 2 2 3 3 3 3 ...
##  $ GradeID                 : Factor w/ 10 levels "G-02","G-04",..: 2 2 2 2 2 2 5 5 5 5 ...
##  $ SectionID               : Factor w/ 3 levels "A","B","C": 1 1 1 1 1 1 1 1 1 2 ...
##  $ Topic                   : Factor w/ 12 levels "Arabic","Biology",..: 8 8 8 8 8 8 9 9 9 8 ...
##  $ Semester                : Factor w/ 2 levels "F","S": 1 1 1 1 1 1 1 1 1 1 ...
##  $ Relation                : Factor w/ 2 levels "Father","Mum": 1 1 1 1 1 1 1 1 1 1 ...
##  $ raisedhands             : int  15 20 10 30 40 42 35 50 12 70 ...
##  $ VisITedResources        : int  16 20 7 25 50 30 12 10 21 80 ...
##  $ AnnouncementsView       : int  2 3 0 5 12 13 0 15 16 25 ...
##  $ Discussion              : int  20 25 30 35 50 70 17 22 50 70 ...
##  $ ParentAnsweringSurvey   : Factor w/ 2 levels "No","Yes": 2 2 1 1 1 2 1 2 2 2 ...
##  $ ParentschoolSatisfaction: Factor w/ 2 levels "Bad","Good": 2 2 1 1 1 1 1 2 2 2 ...
##  $ StudentAbsenceDays      : Factor w/ 2 levels "Above-7","Under-7": 2 2 1 1 1 1 1 2 2 2 ...
##  $ Class                   : Factor w/ 3 levels "H","L","M": 3 3 2 2 3 3 2 3 3 3 ...
summary(E)
##  gender     NationalITy       PlaceofBirth         StageID   
##  F:175   KW       :179   KuwaIT     :180   HighSchool  : 33  
##  M:305   Jordan   :172   Jordan     :176   lowerlevel  :199  
##          Palestine: 28   Iraq       : 22   MiddleSchool:248  
##          Iraq     : 22   lebanon    : 19                     
##          lebanon  : 17   SaudiArabia: 16                     
##          Tunis    : 12   USA        : 16                     
##          (Other)  : 50   (Other)    : 51                     
##     GradeID    SectionID     Topic     Semester   Relation  
##  G-02   :147   A:283     IT     : 95   F:245    Father:283  
##  G-08   :116   B:167     French : 65   S:235    Mum   :197  
##  G-07   :101   C: 30     Arabic : 59                        
##  G-04   : 48             Science: 51                        
##  G-06   : 32             English: 45                        
##  G-11   : 13             Biology: 30                        
##  (Other): 23             (Other):135                        
##   raisedhands     VisITedResources AnnouncementsView   Discussion   
##  Min.   :  0.00   Min.   : 0.0     Min.   : 0.00     Min.   : 1.00  
##  1st Qu.: 15.75   1st Qu.:20.0     1st Qu.:14.00     1st Qu.:20.00  
##  Median : 50.00   Median :65.0     Median :33.00     Median :39.00  
##  Mean   : 46.77   Mean   :54.8     Mean   :37.92     Mean   :43.28  
##  3rd Qu.: 75.00   3rd Qu.:84.0     3rd Qu.:58.00     3rd Qu.:70.00  
##  Max.   :100.00   Max.   :99.0     Max.   :98.00     Max.   :99.00  
##                                                                     
##  ParentAnsweringSurvey ParentschoolSatisfaction StudentAbsenceDays Class  
##  No :210               Bad :188                 Above-7:191        H:142  
##  Yes:270               Good:292                 Under-7:289        L:127  
##                                                                    M:211  
##                                                                           
##                                                                           
##                                                                           
## 
#Reorder the "Class"" column of the data set, make the sequence of "Class" to be "H","M","L" instead of "H","L","M". 

E$Class = factor(E$Class, levels=c("H","M","L"), labels=c("H","M","L")) 

#Reorder the "StageID" column of the data set, make the sequence of "StageID" to be "HighSchool","MiddleSchool","Lowerlevel" instead of "HighSchool","lowerlevel","MiddleSchool". 

E$StageID = factor(E$StageID, levels=c("HighSchool","MiddleSchool","lowerlevel"), labels=c("HighSchool","MiddleSchool","Lowerlevel")) 

E
##     gender NationalITy PlaceofBirth      StageID GradeID SectionID
## 1        M          KW       KuwaIT   Lowerlevel    G-04         A
## 2        M          KW       KuwaIT   Lowerlevel    G-04         A
## 3        M          KW       KuwaIT   Lowerlevel    G-04         A
## 4        M          KW       KuwaIT   Lowerlevel    G-04         A
## 5        M          KW       KuwaIT   Lowerlevel    G-04         A
## 6        F          KW       KuwaIT   Lowerlevel    G-04         A
## 7        M          KW       KuwaIT MiddleSchool    G-07         A
## 8        M          KW       KuwaIT MiddleSchool    G-07         A
## 9        F          KW       KuwaIT MiddleSchool    G-07         A
## 10       F          KW       KuwaIT MiddleSchool    G-07         B
## 11       M          KW       KuwaIT MiddleSchool    G-07         A
## 12       M          KW       KuwaIT MiddleSchool    G-07         B
## 13       M          KW       KuwaIT   Lowerlevel    G-04         A
## 14       M     lebanon      lebanon MiddleSchool    G-08         A
## 15       F          KW       KuwaIT MiddleSchool    G-08         A
## 16       F          KW       KuwaIT MiddleSchool    G-06         A
## 17       M          KW       KuwaIT MiddleSchool    G-07         B
## 18       M          KW       KuwaIT MiddleSchool    G-07         A
## 19       F          KW       KuwaIT MiddleSchool    G-07         A
## 20       M          KW       KuwaIT MiddleSchool    G-07         B
## 21       F          KW       KuwaIT MiddleSchool    G-07         A
## 22       F          KW       KuwaIT MiddleSchool    G-07         B
## 23       M          KW       KuwaIT MiddleSchool    G-07         A
## 24       M          KW       KuwaIT MiddleSchool    G-07         A
## 25       M          KW       KuwaIT MiddleSchool    G-07         B
## 26       M          KW       KuwaIT MiddleSchool    G-07         A
## 27       M          KW       KuwaIT MiddleSchool    G-07         B
## 28       M          KW       KuwaIT MiddleSchool    G-08         A
## 29       M          KW       KuwaIT MiddleSchool    G-08         A
## 30       F          KW       KuwaIT MiddleSchool    G-08         A
## 31       F          KW       KuwaIT MiddleSchool    G-08         A
## 32       M          KW       KuwaIT MiddleSchool    G-07         A
## 33       F          KW       KuwaIT   Lowerlevel    G-07         A
## 34       M          KW       KuwaIT   Lowerlevel    G-05         A
## 35       M          KW       KuwaIT MiddleSchool    G-07         B
## 36       M          KW       KuwaIT MiddleSchool    G-07         A
## 37       M          KW       KuwaIT MiddleSchool    G-07         B
## 38       F       Egypt        Egypt MiddleSchool    G-07         A
## 39       M          KW       KuwaIT MiddleSchool    G-06         A
## 40       F SaudiArabia  SaudiArabia MiddleSchool    G-07         B
## 41       F          KW       KuwaIT MiddleSchool    G-07         A
## 42       M          KW       KuwaIT MiddleSchool    G-07         A
## 43       M          KW       KuwaIT   HighSchool    G-09         A
## 44       F          KW       KuwaIT   HighSchool    G-09         A
## 45       F          KW       KuwaIT   HighSchool    G-09         A
## 46       M          KW       KuwaIT MiddleSchool    G-07         A
## 47       M          KW       KuwaIT   Lowerlevel    G-05         A
## 48       F          KW       KuwaIT   HighSchool    G-12         A
## 49       F          KW       KuwaIT   HighSchool    G-12         A
## 50       F          KW       KuwaIT   HighSchool    G-12         A
## 51       F          KW       KuwaIT   HighSchool    G-12         A
## 52       M          KW       KuwaIT   HighSchool    G-12         A
## 53       F          KW       KuwaIT   HighSchool    G-12         A
## 54       F          KW       KuwaIT   HighSchool    G-11         A
## 55       M          KW       KuwaIT   HighSchool    G-12         A
## 56       M          KW       KuwaIT MiddleSchool    G-07         A
## 57       M         USA          USA MiddleSchool    G-08         B
## 58       M          KW       KuwaIT MiddleSchool    G-07         A
## 59       M          KW       KuwaIT MiddleSchool    G-07         A
## 60       F         USA          USA MiddleSchool    G-07         A
## 61       F      Jordan       Jordan   Lowerlevel    G-05         A
## 62       M          KW       KuwaIT   HighSchool    G-10         A
## 63       M    venzuela     venzuela   HighSchool    G-10         A
## 64       M          KW       KuwaIT   HighSchool    G-10         A
## 65       M          KW       KuwaIT   HighSchool    G-10         A
## 66       M          KW       KuwaIT   HighSchool    G-12         A
## 67       F          KW       KuwaIT   HighSchool    G-12         A
## 68       F         USA          USA   HighSchool    G-12         A
## 69       F         USA          USA   HighSchool    G-12         A
## 70       M      Jordan       Jordan MiddleSchool    G-07         A
## 71       M      Jordan       Jordan MiddleSchool    G-07         A
## 72       M          KW       KuwaIT MiddleSchool    G-07         A
## 73       M          KW       KuwaIT MiddleSchool    G-07         A
## 74       F          KW       KuwaIT MiddleSchool    G-07         A
## 75       M          KW       KuwaIT MiddleSchool    G-07         B
## 76       M      Jordan       Jordan MiddleSchool    G-07         A
## 77       M        Iran         Iran   HighSchool    G-09         A
## 78       M          KW       KuwaIT   HighSchool    G-09         A
## 79       M          KW       KuwaIT   HighSchool    G-11         A
## 80       F     lebanon      lebanon MiddleSchool    G-07         B
## 81       M          KW       KuwaIT MiddleSchool    G-07         A
## 82       M          KW       KuwaIT   Lowerlevel    G-02         A
## 83       M          KW       KuwaIT   Lowerlevel    G-02         B
## 84       M          KW       KuwaIT   Lowerlevel    G-02         B
## 85       M          KW       KuwaIT   Lowerlevel    G-02         B
## 86       M          KW       KuwaIT   Lowerlevel    G-02         B
## 87       M SaudiArabia  SaudiArabia   Lowerlevel    G-02         B
## 88       M          KW       KuwaIT   Lowerlevel    G-02         B
## 89       F          KW       KuwaIT   Lowerlevel    G-02         B
## 90       M          KW       KuwaIT   Lowerlevel    G-02         B
## 91       M          KW       KuwaIT   Lowerlevel    G-02         B
## 92       M          KW       KuwaIT   Lowerlevel    G-02         B
## 93       F          KW       KuwaIT   Lowerlevel    G-02         B
## 94       M         USA          USA   Lowerlevel    G-02         B
## 95       F          KW       KuwaIT   Lowerlevel    G-02         B
## 96       F          KW       KuwaIT   Lowerlevel    G-02         B
## 97       F          KW       KuwaIT   Lowerlevel    G-02         C
## 98       F          KW       KuwaIT   Lowerlevel    G-02         B
## 99       F          KW       KuwaIT   Lowerlevel    G-02         C
## 100      M          KW       KuwaIT   Lowerlevel    G-02         B
## 101      M          KW       KuwaIT   Lowerlevel    G-02         B
## 102      F          KW       KuwaIT   Lowerlevel    G-02         B
## 103      F          KW       KuwaIT   Lowerlevel    G-02         B
## 104      M          KW       KuwaIT   Lowerlevel    G-02         B
## 105      M          KW       KuwaIT   Lowerlevel    G-02         B
## 106      F          KW       KuwaIT   Lowerlevel    G-02         B
## 107      F          KW       KuwaIT   Lowerlevel    G-02         B
## 108      M          KW       KuwaIT   Lowerlevel    G-02         B
## 109      M SaudiArabia  SaudiArabia   Lowerlevel    G-02         B
## 110      M          KW       KuwaIT   Lowerlevel    G-02         B
## 111      F      Jordan       Jordan   Lowerlevel    G-02         B
## 112      M          KW       KuwaIT   Lowerlevel    G-02         C
## 113      M          KW       KuwaIT   Lowerlevel    G-02         B
## 114      M          KW       KuwaIT   Lowerlevel    G-02         B
## 115      M          KW       KuwaIT   Lowerlevel    G-02         B
## 116      M          KW       KuwaIT   Lowerlevel    G-02         B
## 117      F          KW       KuwaIT   Lowerlevel    G-02         C
## 118      F          KW       KuwaIT   Lowerlevel    G-02         C
## 119      F          KW       KuwaIT   Lowerlevel    G-02         C
## 120      M          KW       KuwaIT   Lowerlevel    G-02         C
## 121      M          KW       KuwaIT   Lowerlevel    G-02         C
## 122      M          KW       KuwaIT   Lowerlevel    G-02         C
## 123      F          KW       KuwaIT   Lowerlevel    G-02         B
## 124      F     lebanon      lebanon   Lowerlevel    G-02         B
## 125      M          KW       KuwaIT   Lowerlevel    G-02         C
## 126      M          KW       KuwaIT   Lowerlevel    G-02         B
## 127      F        Iran         Iran   Lowerlevel    G-02         C
## 128      M          KW       KuwaIT   Lowerlevel    G-02         B
## 129      M          KW       KuwaIT   Lowerlevel    G-02         C
## 130      M          KW       KuwaIT   Lowerlevel    G-02         B
## 131      F          KW       KuwaIT   Lowerlevel    G-02         C
## 132      M      Jordan       Jordan   Lowerlevel    G-02         C
## 133      M          KW       KuwaIT   Lowerlevel    G-02         C
## 134      M          KW       KuwaIT   Lowerlevel    G-02         A
## 135      M          KW       KuwaIT MiddleSchool    G-07         A
## 136      F       Egypt        Egypt MiddleSchool    G-07         A
## 137      F          KW          USA   HighSchool    G-11         A
## 138      F          KW          USA   HighSchool    G-11         A
## 139      F      Jordan        Egypt MiddleSchool    G-07         A
## 140      M      Jordan          USA MiddleSchool    G-07         A
## 141      M       Tunis        Tunis MiddleSchool    G-07         A
## 142      M       Tunis        Tunis MiddleSchool    G-07         A
## 143      M       Tunis        Tunis MiddleSchool    G-07         A
## 144      M          KW       KuwaIT MiddleSchool    G-07         A
## 145      M          KW       KuwaIT MiddleSchool    G-07         A
## 146      M       Tunis  SaudiArabia MiddleSchool    G-07         A
## 147      F     lebanon      lebanon MiddleSchool    G-07         A
## 148      F     lebanon      lebanon MiddleSchool    G-07         A
## 149      F      Jordan       Jordan MiddleSchool    G-07         A
## 150      F      Jordan      lebanon MiddleSchool    G-07         A
## 151      M SaudiArabia  SaudiArabia   HighSchool    G-11         A
## 152      M SaudiArabia          USA   HighSchool    G-11         A
## 153      F SaudiArabia          USA   HighSchool    G-11         B
## 154      M SaudiArabia          USA   HighSchool    G-11         B
## 155      M SaudiArabia          USA   HighSchool    G-11         B
## 156      M SaudiArabia          USA   HighSchool    G-11         B
## 157      F       Tunis          USA   HighSchool    G-11         B
## 158      M       Tunis        Tunis   HighSchool    G-11         B
## 159      M       Tunis       KuwaIT MiddleSchool    G-07         B
## 160      F          KW       KuwaIT MiddleSchool    G-07         B
## 161      F      Jordan       Jordan MiddleSchool    G-07         B
## 162      M      Jordan       Jordan MiddleSchool    G-07         B
## 163      F      Jordan       Jordan   Lowerlevel    G-02         B
## 164      F      Jordan          USA   Lowerlevel    G-02         B
## 165      M      Jordan       Jordan   Lowerlevel    G-02         B
## 166      F     Morocco      Morocco   Lowerlevel    G-02         B
## 167      M          KW       KuwaIT   Lowerlevel    G-02         B
## 168      M       Tunis        Tunis   Lowerlevel    G-02         B
## 169      M          KW       KuwaIT   Lowerlevel    G-02         B
## 170      M          KW       KuwaIT   Lowerlevel    G-02         B
## 171      M          KW       KuwaIT   Lowerlevel    G-02         B
## 172      M          KW       KuwaIT   Lowerlevel    G-02         B
## 173      M        Iran         Iran   Lowerlevel    G-02         B
## 174      M       Syria        Syria   Lowerlevel    G-02         B
## 175      F      Jordan       Jordan   Lowerlevel    G-02         B
## 176      M        Iran         Iran   Lowerlevel    G-02         B
## 177      M       Tunis        Tunis   Lowerlevel    G-02         B
## 178      F         USA          USA   Lowerlevel    G-02         B
## 179      F     lebanon      lebanon   Lowerlevel    G-02         B
## 180      M     lebanon      lebanon   Lowerlevel    G-02         B
## 181      F SaudiArabia  SaudiArabia   Lowerlevel    G-02         B
## 182      M      Jordan       Jordan   Lowerlevel    G-02         B
## 183      M          KW       KuwaIT MiddleSchool    G-08         A
## 184      F     lebanon      lebanon MiddleSchool    G-08         A
## 185      M     lebanon      lebanon MiddleSchool    G-08         A
## 186      M     lebanon       Jordan MiddleSchool    G-08         A
## 187      M          KW       KuwaIT MiddleSchool    G-08         A
## 188      F          KW       KuwaIT MiddleSchool    G-08         A
## 189      M          KW       KuwaIT MiddleSchool    G-08         A
## 190      F          KW       KuwaIT MiddleSchool    G-08         A
## 191      M          KW       KuwaIT MiddleSchool    G-08         A
## 192      M          KW       KuwaIT MiddleSchool    G-08         A
## 193      M          KW       KuwaIT MiddleSchool    G-08         A
## 194      M     Morocco      Morocco MiddleSchool    G-08         A
## 195      M     Morocco      Morocco MiddleSchool    G-08         A
## 196      M          KW       KuwaIT MiddleSchool    G-08         A
## 197      M          KW       KuwaIT MiddleSchool    G-08         A
## 198      M          KW       KuwaIT MiddleSchool    G-08         A
## 199      M     Morocco      Morocco MiddleSchool    G-08         B
## 200      M          KW       KuwaIT MiddleSchool    G-08         B
## 201      M          KW       KuwaIT MiddleSchool    G-08         B
## 202      F     lebanon      lebanon MiddleSchool    G-08         A
## 203      M          KW       KuwaIT MiddleSchool    G-08         B
## 204      F          KW       KuwaIT MiddleSchool    G-08         B
## 205      M      Jordan       Jordan MiddleSchool    G-08         B
## 206      F SaudiArabia  SaudiArabia MiddleSchool    G-08         B
## 207      M          KW       KuwaIT MiddleSchool    G-08         B
## 208      M          KW       KuwaIT MiddleSchool    G-08         C
## 209      M       Tunis        Tunis MiddleSchool    G-08         C
## 210      M          KW       KuwaIT MiddleSchool    G-08         C
## 211      M      Jordan  SaudiArabia MiddleSchool    G-08         C
## 212      M          KW       KuwaIT MiddleSchool    G-08         C
## 213      M       Tunis        Tunis MiddleSchool    G-08         C
## 214      M       Tunis        Tunis MiddleSchool    G-08         C
## 215      M          KW       KuwaIT MiddleSchool    G-08         C
## 216      M          KW       KuwaIT MiddleSchool    G-08         C
## 217      M        Iran         Iran MiddleSchool    G-08         C
## 218      F      Jordan       KuwaIT MiddleSchool    G-08         C
## 219      M          KW       KuwaIT MiddleSchool    G-08         C
## 220      M          KW       KuwaIT MiddleSchool    G-08         C
## 221      M     lebanon      lebanon MiddleSchool    G-08         C
## 222      M     lebanon      lebanon MiddleSchool    G-08         C
## 223      M          KW       KuwaIT MiddleSchool    G-08         B
## 224      M          KW       KuwaIT MiddleSchool    G-08         A
## 225      M          KW       KuwaIT MiddleSchool    G-08         B
## 226      M          KW       KuwaIT MiddleSchool    G-08         A
## 227      M          KW       KuwaIT MiddleSchool    G-08         B
## 228      M          KW       KuwaIT MiddleSchool    G-08         A
## 229      M          KW       KuwaIT   HighSchool    G-11         B
## 230      M          KW       KuwaIT MiddleSchool    G-08         A
## 231      M        Iran         Iran MiddleSchool    G-08         A
## 232      M       Syria       Jordan MiddleSchool    G-08         A
## 233      M       Syria        Syria MiddleSchool    G-07         A
## 234      F      Jordan       Jordan MiddleSchool    G-07         B
## 235      M          KW       KuwaIT MiddleSchool    G-07         B
## 236      M          KW       KuwaIT MiddleSchool    G-07         B
## 237      M      Jordan       Jordan MiddleSchool    G-07         B
## 238      M          KW       KuwaIT MiddleSchool    G-07         B
## 239      F          KW       KuwaIT MiddleSchool    G-07         B
## 240      M       Egypt        Egypt MiddleSchool    G-07         B
## 241      M          KW       KuwaIT MiddleSchool    G-07         B
## 242      M       Egypt        Egypt MiddleSchool    G-07         B
## 243      M          KW       KuwaIT MiddleSchool    G-07         B
## 244      M       Egypt       KuwaIT MiddleSchool    G-07         B
## 245      M          KW       KuwaIT MiddleSchool    G-07         B
## 246      F          KW       KuwaIT MiddleSchool    G-06         A
## 247      F          KW       KuwaIT MiddleSchool    G-06         A
## 248      F          KW       KuwaIT MiddleSchool    G-06         A
## 249      F          KW       KuwaIT MiddleSchool    G-06         A
## 250      M          KW       KuwaIT   Lowerlevel    G-04         A
## 251      M          KW       KuwaIT   Lowerlevel    G-04         A
## 252      M       Egypt        Egypt   Lowerlevel    G-04         A
## 253      F          KW       KuwaIT   Lowerlevel    G-04         A
## 254      M          KW       KuwaIT   Lowerlevel    G-04         A
## 255      M          KW       KuwaIT   Lowerlevel    G-04         A
## 256      M          KW       KuwaIT   Lowerlevel    G-04         A
## 257      F          KW       KuwaIT   Lowerlevel    G-04         A
## 258      F          KW       KuwaIT   Lowerlevel    G-04         A
## 259      F          KW       KuwaIT   Lowerlevel    G-04         A
## 260      M          KW       KuwaIT   Lowerlevel    G-04         A
## 261      M          KW       KuwaIT   Lowerlevel    G-04         A
## 262      M          KW       KuwaIT   Lowerlevel    G-04         A
## 263      F          KW       KuwaIT   Lowerlevel    G-04         A
## 264      M       Egypt        Egypt   Lowerlevel    G-04         A
## 265      F      Jordan       Jordan MiddleSchool    G-06         A
## 266      F      Jordan       Jordan MiddleSchool    G-06         A
## 267      M      Jordan       Jordan MiddleSchool    G-06         A
## 268      M      Jordan       Jordan MiddleSchool    G-06         A
## 269      M      Jordan       Jordan MiddleSchool    G-06         A
## 270      M      Jordan       Jordan MiddleSchool    G-06         A
## 271      F      Jordan       Jordan MiddleSchool    G-06         A
## 272      F      Jordan       Jordan MiddleSchool    G-06         A
## 273      M      Jordan       Jordan MiddleSchool    G-06         A
## 274      M      Jordan       Jordan MiddleSchool    G-06         A
## 275      F     lebanon      lebanon MiddleSchool    G-06         A
## 276      F     lebanon      lebanon MiddleSchool    G-06         A
## 277      M   Palestine       Jordan MiddleSchool    G-06         A
## 278      M   Palestine       Jordan MiddleSchool    G-06         A
## 279      M   Palestine       Jordan MiddleSchool    G-06         A
## 280      M   Palestine       Jordan MiddleSchool    G-06         A
## 281      M        Iraq         Iraq MiddleSchool    G-06         A
## 282      M        Iraq         Iraq MiddleSchool    G-06         A
## 283      F      Jordan       Jordan MiddleSchool    G-06         A
## 284      F      Jordan       Jordan MiddleSchool    G-06         A
## 285      M      Jordan       Jordan MiddleSchool    G-06         A
## 286      M      Jordan       Jordan MiddleSchool    G-06         A
## 287      F      Jordan       Jordan MiddleSchool    G-06         A
## 288      F      Jordan       Jordan MiddleSchool    G-06         A
## 289      M   Palestine       Jordan MiddleSchool    G-06         A
## 290      M   Palestine       Jordan MiddleSchool    G-06         A
## 291      F      Jordan       Jordan   Lowerlevel    G-04         A
## 292      F      Jordan       Jordan   Lowerlevel    G-04         A
## 293      F   Palestine    Palestine   Lowerlevel    G-04         A
## 294      F   Palestine    Palestine   Lowerlevel    G-04         A
## 295      M        Iraq         Iraq   Lowerlevel    G-04         A
## 296      M        Iraq         Iraq   Lowerlevel    G-04         A
## 297      F      Jordan       Jordan   Lowerlevel    G-04         A
## 298      F      Jordan       Jordan   Lowerlevel    G-04         A
## 299      M      Jordan       Jordan   Lowerlevel    G-04         A
## 300      M      Jordan       Jordan   Lowerlevel    G-04         A
## 301      M      Jordan       Jordan   Lowerlevel    G-04         A
## 302      M      Jordan       Jordan   Lowerlevel    G-04         A
## 303      F      Jordan       Jordan   Lowerlevel    G-04         B
## 304      F      Jordan       Jordan   Lowerlevel    G-04         B
## 305      F      Jordan       Jordan   Lowerlevel    G-04         B
## 306      F      Jordan       Jordan   Lowerlevel    G-04         B
## 307      M      Jordan       Jordan   Lowerlevel    G-04         B
## 308      M      Jordan       Jordan   Lowerlevel    G-04         B
## 309      M   Palestine       Jordan   Lowerlevel    G-04         B
## 310      M   Palestine       Jordan   Lowerlevel    G-04         B
## 311      M      Jordan       Jordan   Lowerlevel    G-04         B
## 312      M      Jordan       Jordan   Lowerlevel    G-04         B
## 313      F      Jordan       Jordan   Lowerlevel    G-04         B
## 314      F      Jordan       Jordan   Lowerlevel    G-04         B
## 315      F      Jordan      lebanon   Lowerlevel    G-04         B
## 316      F      Jordan      lebanon   Lowerlevel    G-04         B
## 317      M      Jordan       Jordan   Lowerlevel    G-02         A
## 318      M      Jordan       Jordan   Lowerlevel    G-02         A
## 319      F      Jordan       Jordan   Lowerlevel    G-02         A
## 320      F      Jordan       Jordan   Lowerlevel    G-02         A
## 321      F      Jordan       Jordan   Lowerlevel    G-02         A
## 322      F      Jordan       Jordan   Lowerlevel    G-02         A
## 323      M      Jordan       Jordan   Lowerlevel    G-02         A
## 324      M      Jordan       Jordan   Lowerlevel    G-02         A
## 325      M       Syria        Syria   Lowerlevel    G-02         A
## 326      M       Syria        Syria   Lowerlevel    G-02         A
## 327      M      Jordan       Jordan   Lowerlevel    G-02         A
## 328      M      Jordan       Jordan   Lowerlevel    G-02         A
## 329      F      Jordan    Palestine   Lowerlevel    G-02         A
## 330      F      Jordan    Palestine   Lowerlevel    G-02         A
## 331      M      Jordan       Jordan   Lowerlevel    G-02         A
## 332      M      Jordan       Jordan   Lowerlevel    G-02         A
## 333      F      Jordan       Jordan   Lowerlevel    G-02         A
## 334      F      Jordan       Jordan   Lowerlevel    G-02         A
## 335      M       Lybia        Lybia   Lowerlevel    G-02         A
## 336      M       Lybia        Lybia   Lowerlevel    G-02         A
## 337      F   Palestine       Jordan   Lowerlevel    G-02         A
## 338      F   Palestine       Jordan   Lowerlevel    G-02         A
## 339      F   Palestine       Jordan   Lowerlevel    G-02         B
## 340      F   Palestine       Jordan   Lowerlevel    G-02         B
## 341      F        Iraq         Iraq   Lowerlevel    G-02         B
## 342      F        Iraq         Iraq   Lowerlevel    G-02         B
## 343      M      Jordan       Jordan   Lowerlevel    G-02         B
## 344      M      Jordan       Jordan   Lowerlevel    G-02         B
## 345      F      Jordan       Jordan   Lowerlevel    G-02         B
## 346      F      Jordan       Jordan   Lowerlevel    G-02         B
## 347      F      Jordan       Jordan   Lowerlevel    G-02         B
## 348      F      Jordan       Jordan   Lowerlevel    G-02         B
## 349      M       Lybia        Lybia   Lowerlevel    G-02         B
## 350      M       Lybia        Lybia   Lowerlevel    G-02         B
## 351      M       Egypt        Egypt   Lowerlevel    G-02         B
## 352      M       Egypt        Egypt   Lowerlevel    G-02         B
## 353      F      Jordan       Jordan   Lowerlevel    G-02         B
## 354      F      Jordan       Jordan   Lowerlevel    G-02         B
## 355      M      Jordan       Jordan   Lowerlevel    G-02         B
## 356      M      Jordan       Jordan   Lowerlevel    G-02         B
## 357      M      Jordan       Jordan   Lowerlevel    G-02         B
## 358      M      Jordan       Jordan   Lowerlevel    G-02         B
## 359      F     lebanon      lebanon   Lowerlevel    G-02         B
## 360      F     lebanon      lebanon   Lowerlevel    G-02         B
## 361      M      Jordan       Jordan   Lowerlevel    G-02         A
## 362      M      Jordan       Jordan   Lowerlevel    G-02         A
## 363      M   Palestine       Jordan   Lowerlevel    G-02         A
## 364      M   Palestine       Jordan   Lowerlevel    G-02         A
## 365      M        Iraq         Iraq   Lowerlevel    G-02         A
## 366      M        Iraq         Iraq   Lowerlevel    G-02         A
## 367      M      Jordan       Jordan   Lowerlevel    G-02         A
## 368      M      Jordan       Jordan   Lowerlevel    G-02         A
## 369      F   Palestine       Jordan   Lowerlevel    G-02         A
## 370      F   Palestine       Jordan   Lowerlevel    G-02         A
## 371      M      Jordan       Jordan   Lowerlevel    G-02         A
## 372      M      Jordan       Jordan   Lowerlevel    G-02         A
## 373      F      Jordan       Jordan   Lowerlevel    G-02         A
## 374      F      Jordan       Jordan   Lowerlevel    G-02         A
## 375      M      Jordan       Jordan   Lowerlevel    G-02         B
## 376      M      Jordan       Jordan   Lowerlevel    G-02         B
## 377      M      Jordan       Jordan   Lowerlevel    G-02         B
## 378      M      Jordan       Jordan   Lowerlevel    G-02         B
## 379      M      Jordan       Jordan   Lowerlevel    G-02         B
## 380      M      Jordan       Jordan   Lowerlevel    G-02         B
## 381      F      Jordan       Jordan   Lowerlevel    G-02         B
## 382      F      Jordan       Jordan   Lowerlevel    G-02         B
## 383      M        Iraq         Iraq   Lowerlevel    G-02         B
## 384      M        Iraq         Iraq   Lowerlevel    G-02         B
## 385      F        Iraq         Iraq   Lowerlevel    G-02         B
## 386      F        Iraq         Iraq   Lowerlevel    G-02         B
## 387      M      Jordan       Jordan   Lowerlevel    G-02         B
## 388      M      Jordan       Jordan   Lowerlevel    G-02         B
## 389      M      Jordan  SaudiArabia   Lowerlevel    G-02         B
## 390      M      Jordan  SaudiArabia   Lowerlevel    G-02         B
## 391      F      Jordan       Jordan MiddleSchool    G-07         A
## 392      F      Jordan       Jordan MiddleSchool    G-07         A
## 393      F        Iraq         Iraq MiddleSchool    G-07         A
## 394      F        Iraq         Iraq MiddleSchool    G-07         A
## 395      M      Jordan    Palestine MiddleSchool    G-07         A
## 396      M      Jordan    Palestine MiddleSchool    G-07         A
## 397      M      Jordan       Jordan MiddleSchool    G-07         A
## 398      M      Jordan       Jordan MiddleSchool    G-07         A
## 399      M   Palestine    Palestine MiddleSchool    G-07         A
## 400      M   Palestine    Palestine MiddleSchool    G-07         A
## 401      M      Jordan       Jordan MiddleSchool    G-07         A
## 402      M      Jordan       Jordan MiddleSchool    G-07         A
## 403      M      Jordan       Jordan MiddleSchool    G-07         A
## 404      M      Jordan       Jordan MiddleSchool    G-07         A
## 405      F       Syria        Syria MiddleSchool    G-07         A
## 406      F       Syria        Syria MiddleSchool    G-07         A
## 407      M      Jordan       Jordan MiddleSchool    G-07         A
## 408      M      Jordan       Jordan MiddleSchool    G-07         A
## 409      M      Jordan       Jordan MiddleSchool    G-07         B
## 410      M      Jordan       Jordan MiddleSchool    G-07         B
## 411      F      Jordan       Jordan MiddleSchool    G-07         B
## 412      F      Jordan       Jordan MiddleSchool    G-07         B
## 413      M   Palestine       Jordan MiddleSchool    G-07         B
## 414      M   Palestine       Jordan MiddleSchool    G-07         B
## 415      F       Lybia        Lybia MiddleSchool    G-07         B
## 416      F       Lybia        Lybia MiddleSchool    G-07         B
## 417      M        Iraq         Iraq MiddleSchool    G-07         B
## 418      M        Iraq         Iraq MiddleSchool    G-07         B
## 419      M   Palestine       Jordan MiddleSchool    G-07         B
## 420      M   Palestine       Jordan MiddleSchool    G-07         B
## 421      F      Jordan       Jordan MiddleSchool    G-08         A
## 422      F      Jordan       Jordan MiddleSchool    G-08         A
## 423      F      Jordan       Jordan MiddleSchool    G-08         A
## 424      F      Jordan       Jordan MiddleSchool    G-08         A
## 425      F      Jordan       Jordan MiddleSchool    G-08         A
## 426      F      Jordan       Jordan MiddleSchool    G-08         A
## 427      M      Jordan       Jordan MiddleSchool    G-08         A
## 428      M      Jordan       Jordan MiddleSchool    G-08         A
## 429      M      Jordan  SaudiArabia MiddleSchool    G-08         A
## 430      M      Jordan  SaudiArabia MiddleSchool    G-08         A
## 431      M      Jordan  SaudiArabia MiddleSchool    G-08         A
## 432      M      Jordan  SaudiArabia MiddleSchool    G-08         A
## 433      M      Jordan  SaudiArabia MiddleSchool    G-08         A
## 434      M      Jordan  SaudiArabia MiddleSchool    G-08         A
## 435      M      Jordan       Jordan MiddleSchool    G-08         A
## 436      M      Jordan       Jordan MiddleSchool    G-08         A
## 437      M      Jordan       Jordan MiddleSchool    G-08         A
## 438      M      Jordan       Jordan MiddleSchool    G-08         A
## 439      M      Jordan       Jordan MiddleSchool    G-08         A
## 440      M      Jordan       Jordan MiddleSchool    G-08         A
## 441      M      Jordan       Jordan MiddleSchool    G-08         A
## 442      M      Jordan       Jordan MiddleSchool    G-08         A
## 443      M      Jordan       Jordan MiddleSchool    G-08         A
## 444      M      Jordan       Jordan MiddleSchool    G-08         A
## 445      M      Jordan       Jordan MiddleSchool    G-08         A
## 446      M      Jordan       Jordan MiddleSchool    G-08         A
## 447      M      Jordan       Jordan MiddleSchool    G-08         A
## 448      M      Jordan       Jordan MiddleSchool    G-08         A
## 449      M      Jordan       Jordan MiddleSchool    G-08         A
## 450      M      Jordan       Jordan MiddleSchool    G-08         A
## 451      F      Jordan       Jordan MiddleSchool    G-08         A
## 452      F      Jordan       Jordan MiddleSchool    G-08         A
## 453      F      Jordan       Jordan MiddleSchool    G-08         A
## 454      F      Jordan       Jordan MiddleSchool    G-08         A
## 455      F      Jordan       Jordan MiddleSchool    G-08         A
## 456      F      Jordan       Jordan MiddleSchool    G-08         A
## 457      F      Jordan       Jordan MiddleSchool    G-08         A
## 458      F      Jordan       Jordan MiddleSchool    G-08         A
## 459      M        Iraq         Iraq MiddleSchool    G-08         A
## 460      M        Iraq         Iraq MiddleSchool    G-08         A
## 461      M        Iraq         Iraq MiddleSchool    G-08         A
## 462      M        Iraq         Iraq MiddleSchool    G-08         A
## 463      M        Iraq         Iraq MiddleSchool    G-08         A
## 464      M        Iraq         Iraq MiddleSchool    G-08         A
## 465      F      Jordan       Jordan MiddleSchool    G-08         A
## 466      F      Jordan       Jordan MiddleSchool    G-08         A
## 467      F      Jordan       Jordan MiddleSchool    G-08         A
## 468      F      Jordan       Jordan MiddleSchool    G-08         A
## 469      F      Jordan       Jordan MiddleSchool    G-08         A
## 470      F      Jordan       Jordan MiddleSchool    G-08         A
## 471      M   Palestine       Jordan MiddleSchool    G-08         A
## 472      M   Palestine       Jordan MiddleSchool    G-08         A
## 473      M   Palestine    Palestine MiddleSchool    G-08         A
## 474      M   Palestine    Palestine MiddleSchool    G-08         A
## 475      F      Jordan       Jordan MiddleSchool    G-08         A
## 476      F      Jordan       Jordan MiddleSchool    G-08         A
## 477      F      Jordan       Jordan MiddleSchool    G-08         A
## 478      F      Jordan       Jordan MiddleSchool    G-08         A
## 479      F      Jordan       Jordan MiddleSchool    G-08         A
## 480      F      Jordan       Jordan MiddleSchool    G-08         A
##         Topic Semester Relation raisedhands VisITedResources
## 1          IT        F   Father          15               16
## 2          IT        F   Father          20               20
## 3          IT        F   Father          10                7
## 4          IT        F   Father          30               25
## 5          IT        F   Father          40               50
## 6          IT        F   Father          42               30
## 7        Math        F   Father          35               12
## 8        Math        F   Father          50               10
## 9        Math        F   Father          12               21
## 10         IT        F   Father          70               80
## 11       Math        F   Father          50               88
## 12       Math        F   Father          19                6
## 13         IT        F   Father           5                1
## 14       Math        F   Father          20               14
## 15       Math        F      Mum          62               70
## 16         IT        F   Father          30               40
## 17         IT        F   Father          36               30
## 18       Math        F   Father          55               13
## 19         IT        F      Mum          69               15
## 20         IT        F      Mum          70               50
## 21         IT        F   Father          60               60
## 22         IT        F   Father          10               12
## 23         IT        F   Father          15               21
## 24         IT        F   Father           2                0
## 25         IT        F   Father           0                2
## 26         IT        F   Father           8                7
## 27         IT        F   Father          19               19
## 28     Arabic        F   Father          25               15
## 29    Science        F   Father          75               85
## 30     Arabic        F   Father          30               90
## 31     Arabic        F   Father          35               80
## 32         IT        F   Father           4                5
## 33         IT        F   Father           2               19
## 34    English        F   Father           8               22
## 35    Science        F   Father          12               11
## 36    English        F   Father          10               12
## 37    Science        F      Mum           8                6
## 38         IT        F   Father          45               54
## 39         IT        F   Father           0                0
## 40    Science        F   Father          50               90
## 41         IT        F   Father          14               13
## 42         IT        F   Father          19               20
## 43         IT        F   Father          10               12
## 44         IT        F   Father          30               35
## 45         IT        F   Father          33               33
## 46      Quran        F   Father          20               12
## 47    English        F   Father           7               10
## 48    English        F      Mum          70                4
## 49    English        F      Mum          13               80
## 50    English        F   Father          29               39
## 51    English        F   Father          20               14
## 52    English        F   Father          39               15
## 53    English        F   Father          55               90
## 54    Science        F      Mum          49               70
## 55    English        F      Mum          12               50
## 56       Math        F   Father          16               14
## 57       Math        F   Father          19                5
## 58       Math        F   Father           5                2
## 59       Math        F   Father          28               60
## 60       Math        F   Father          27               22
## 61    English        F      Mum          21               10
## 62         IT        F   Father          50               70
## 63         IT        F      Mum          80               90
## 64         IT        F   Father          17               13
## 65         IT        F   Father           0                5
## 66    English        F   Father          13                5
## 67    English        F   Father          25               10
## 68    English        F      Mum          65               75
## 69         IT        F      Mum          70               69
## 70         IT        F   Father          39               40
## 71         IT        F   Father          22               30
## 72         IT        F   Father          29               22
## 73       Math        F   Father          11                2
## 74    English        F   Father          19               30
## 75         IT        F   Father          12                0
## 76      Quran        F      Mum          50               90
## 77         IT        F      Mum          15               70
## 78         IT        F   Father          20               80
## 79      Quran        F   Father          13                3
## 80       Math        F      Mum          80               90
## 81       Math        F   Father           8               15
## 82         IT        F   Father           8               25
## 83         IT        F   Father           7                5
## 84         IT        F   Father           7                4
## 85         IT        F   Father          50               70
## 86         IT        F   Father           1                0
## 87         IT        F   Father          70               12
## 88         IT        F   Father          19               70
## 89         IT        F   Father           3               12
## 90         IT        F   Father           5               20
## 91         IT        F   Father           4                8
## 92         IT        F   Father          80               90
## 93         IT        F   Father          50               70
## 94         IT        F   Father          55               89
## 95         IT        F   Father          80               44
## 96         IT        F   Father         100               80
## 97         IT        F   Father          14               60
## 98         IT        F   Father           6                2
## 99         IT        F   Father          10                3
## 100        IT        F   Father          50                7
## 101        IT        F   Father          50               90
## 102        IT        F      Mum          70               92
## 103        IT        F   Father           2                6
## 104        IT        F   Father           1                7
## 105        IT        F   Father           0               12
## 106        IT        F   Father           0                0
## 107        IT        F   Father          12               26
## 108        IT        F   Father          70               90
## 109        IT        F   Father           7               12
## 110        IT        F   Father          90               70
## 111        IT        F      Mum          70               88
## 112        IT        F   Father          77               80
## 113        IT        F   Father           2                5
## 114        IT        F   Father          25               27
## 115        IT        F   Father          11                2
## 116        IT        F   Father           0                8
## 117        IT        F      Mum          77               80
## 118        IT        F      Mum          25               29
## 119        IT        F      Mum          24               35
## 120        IT        F   Father          60               60
## 121        IT        F      Mum          21               12
## 122        IT        F      Mum           0                4
## 123        IT        F   Father          66               90
## 124        IT        F   Father          70               98
## 125        IT        F   Father           0                6
## 126        IT        F   Father          12               30
## 127        IT        F   Father           2                9
## 128        IT        F   Father          55               33
## 129        IT        F   Father          12               10
## 130        IT        F   Father          70               90
## 131        IT        F   Father           7                9
## 132        IT        F   Father          80               42
## 133        IT        S   Father           0                3
## 134        IT        S   Father          12               60
## 135     Quran        S   Father          80               80
## 136     Quran        S      Mum          70               80
## 137     Quran        S      Mum          70               80
## 138     Quran        F      Mum          60               80
## 139     Quran        F      Mum         100               80
## 140     Quran        F      Mum         100               85
## 141     Quran        F   Father          10               60
## 142     Quran        S   Father          19               65
## 143     Quran        S   Father          10               75
## 144     Quran        S   Father          80               90
## 145     Quran        S   Father          10               10
## 146     Quran        S   Father          70               75
## 147     Quran        S      Mum         100               75
## 148     Quran        S   Father          10               79
## 149     Quran        S   Father          60               55
## 150     Quran        S      Mum         100               75
## 151     Quran        S   Father          80               80
## 152   Science        S   Father          23               63
## 153   Science        S   Father         100               91
## 154   Spanish        S   Father          10               51
## 155   English        S   Father          70               50
## 156      Math        S   Father          70               58
## 157    French        S   Father          70               50
## 158   Science        S   Father          70               50
## 159   Science        S   Father          22               51
## 160   Science        S   Father          62               68
## 161   Science        S      Mum          82               89
## 162   Science        S      Mum          72               80
## 163    French        S      Mum          70               82
## 164    French        S      Mum          60               82
## 165    French        S      Mum          55               72
## 166    French        S      Mum          72               65
## 167    French        S      Mum          51               82
## 168    French        S      Mum          80               92
## 169    French        S      Mum          60               52
## 170    French        S      Mum          30               12
## 171    French        S   Father          40               62
## 172    French        S      Mum          60               52
## 173    French        S      Mum          20               22
## 174    French        S      Mum          20               52
## 175    French        S   Father          50               62
## 176    French        S   Father          10                2
## 177    French        S      Mum          60               52
## 178    French        S      Mum          15               52
## 179    French        S      Mum          80               42
## 180    French        S      Mum          40               51
## 181    French        S   Father          60               70
## 182    French        S   Father          50               62
## 183    Arabic        S      Mum          85               75
## 184    Arabic        S   Father          25               15
## 185    Arabic        S      Mum          10               35
## 186    Arabic        S      Mum          87               65
## 187    Arabic        S      Mum          85               15
## 188    Arabic        S   Father          80               71
## 189    Arabic        S      Mum          75               71
## 190    Arabic        S   Father          85               66
## 191    Arabic        S   Father          23               25
## 192    Arabic        S   Father          15               25
## 193    Arabic        S      Mum          95               91
## 194    Arabic        S      Mum          81               75
## 195    Arabic        S      Mum          53               75
## 196    Arabic        S   Father          15               43
## 197    Arabic        S      Mum          92               65
## 198    Arabic        S      Mum          83               75
## 199    Arabic        S   Father          27               15
## 200    Arabic        S   Father          45               95
## 201    Arabic        S      Mum          15               90
## 202    Arabic        S      Mum          45               58
## 203    Arabic        S   Father          25                5
## 204    Arabic        S   Father          22               51
## 205    Arabic        S   Father          29               10
## 206    Arabic        S      Mum          72               51
## 207    Arabic        S   Father          67               31
## 208   Spanish        S   Father          17               21
## 209   Spanish        S      Mum          27               41
## 210   Spanish        S   Father          70               81
## 211   Spanish        S      Mum          27               90
## 212   Spanish        S   Father          17               61
## 213   Spanish        S      Mum          87               81
## 214   Spanish        S   Father           7               61
## 215   Spanish        S   Father          17               50
## 216   Spanish        S   Father           5               21
## 217   Spanish        S      Mum          27               41
## 218   Spanish        S   Father          87               88
## 219   Spanish        S      Mum          96               61
## 220   Spanish        S      Mum          57               51
## 221   Spanish        S   Father          77               69
## 222   Spanish        S   Father          80               51
## 223   Spanish        S   Father          62               61
## 224   Spanish        S      Mum          72               83
## 225   Spanish        S      Mum          87               81
## 226   Spanish        S      Mum          72               90
## 227   Spanish        S   Father           2               11
## 228   Spanish        S   Father           5                3
## 229      Math        S      Mum          73               84
## 230   Spanish        S   Father           5               17
## 231   Spanish        S      Mum          51               42
## 232   Spanish        S   Father           9                7
## 233     Quran        F   Father          19               72
## 234   Science        S      Mum          32               80
## 235   Science        S      Mum          32               60
## 236   Science        S   Father          12                8
## 237   Science        S   Father          52               10
## 238   Science        S   Father          72               80
## 239   Science        S      Mum          72               80
## 240   Science        S      Mum          92               80
## 241   Science        S      Mum          72               80
## 242   Science        S   Father          72               80
## 243   Science        S   Father          22               20
## 244   Science        S   Father          12               20
## 245        IT        S      Mum          70               92
## 246        IT        S   Father          50               40
## 247   Science        S   Father          80               94
## 248      Math        S   Father          87               48
## 249     Quran        S   Father          70               40
## 250        IT        S   Father          65               86
## 251      Math        S   Father          15                6
## 252   English        S      Mum          19               74
## 253   Science        S   Father          69               76
## 254    Arabic        S   Father          39               26
## 255   English        S   Father          59               97
## 256   History        S   Father          10               17
## 257   History        S      Mum          80               87
## 258   History        S   Father          70               99
## 259   History        S   Father          80               97
## 260   English        S      Mum          69               34
## 261   History        S   Father          10               17
## 262   History        S   Father          61               97
## 263   History        S      Mum          21               27
## 264      Math        S      Mum          49               94
## 265   English        F      Mum          70               64
## 266   English        S      Mum          79               84
## 267   English        F   Father          19               80
## 268   English        S   Father          11               70
## 269   English        F   Father          10                8
## 270   English        S   Father          18               28
## 271   English        F      Mum          90               84
## 272   English        S      Mum          92               81
## 273   English        F   Father          42               21
## 274   English        S   Father          22               20
## 275   English        F      Mum          95               82
## 276   English        S      Mum          90               62
## 277   English        F      Mum          72               21
## 278   English        S      Mum          92               31
## 279   English        F      Mum          82               31
## 280   English        S      Mum          72               41
## 281   English        F      Mum          74               71
## 282   English        S      Mum          74               60
## 283   English        F      Mum          95               94
## 284   English        S      Mum          97               87
## 285   English        F   Father          40               38
## 286   English        S   Father          41               39
## 287   English        F      Mum          51               79
## 288   English        S      Mum          81               79
## 289   English        F      Mum          71               70
## 290   English        S      Mum          75               71
## 291   Science        F   Father          49               36
## 292   Science        S   Father          42               24
## 293   Science        F      Mum          90               86
## 294   Science        S      Mum          62               64
## 295   Science        F   Father          90               86
## 296   Science        S   Father          62               64
## 297   Science        F      Mum          98               87
## 298   Science        S      Mum          72               74
## 299   Science        F   Father          18               17
## 300   Science        S   Father          32               14
## 301   Science        F   Father          10               12
## 302   Science        S   Father          22               34
## 303   Science        F      Mum          11               20
## 304   Science        S      Mum          12               44
## 305   Science        F   Father          15               50
## 306   Science        S   Father          32               44
## 307   Science        F      Mum          65               59
## 308   Science        S      Mum          72               64
## 309   Science        F      Mum          95               57
## 310   Science        S      Mum          82               84
## 311   Science        F   Father          25               29
## 312   Science        S   Father          42               34
## 313   Science        F      Mum          55               79
## 314   Science        S      Mum          62               64
## 315   Science        F      Mum          78               88
## 316   Science        S      Mum          72               84
## 317    French        F      Mum          60               92
## 318    French        S      Mum          50               90
## 319    French        F      Mum          60               97
## 320    French        S      Mum          50               95
## 321    French        F      Mum          60               87
## 322    French        S      Mum          50               80
## 323    French        F   Father          10               15
## 324    French        S   Father          30               10
## 325    French        F   Father          24               35
## 326    French        S   Father          27               20
## 327    French        F   Father          10               15
## 328    French        S   Father          30               10
## 329    French        F      Mum          80               77
## 330    French        S      Mum          75               85
## 331    French        F   Father          40                7
## 332    French        S   Father          35                2
## 333    French        F      Mum          10               90
## 334    French        S      Mum          25               80
## 335    French        F      Mum          10                8
## 336    French        S      Mum          15                7
## 337    French        F      Mum          70               90
## 338    French        S      Mum          75               80
## 339    French        F   Father          78               98
## 340    French        S   Father          79               89
## 341    French        F   Father          16               90
## 342    French        S   Father          17               80
## 343    French        F      Mum          40               87
## 344    French        S      Mum          35               92
## 345    French        F      Mum          14               97
## 346    French        F      Mum          13               82
## 347    French        S      Mum          24               97
## 348    French        S      Mum          23               82
## 349    French        F      Mum          20                3
## 350    French        S      Mum          15                4
## 351    French        F      Mum           5               13
## 352    French        S      Mum           7                9
## 353    French        F      Mum          10               94
## 354    French        S      Mum          25               89
## 355    French        F      Mum          30               98
## 356    French        S      Mum          35               97
## 357    French        F   Father          32               88
## 358    French        S   Father          25               87
## 359    French        F      Mum          72               98
## 360    French        S      Mum          75               90
## 361    Arabic        F   Father          20               88
## 362    Arabic        S   Father          10               98
## 363    Arabic        F   Father          90               98
## 364    Arabic        S   Father          80               88
## 365    Arabic        F   Father          80               95
## 366    Arabic        S   Father          78               70
## 367    Arabic        F   Father          10               18
## 368    Arabic        S   Father          10               58
## 369    Arabic        F      Mum          98               88
## 370    Arabic        S      Mum          75               81
## 371    Arabic        F   Father          10               17
## 372    Arabic        S   Father          35                2
## 373    Arabic        F   Father          10               20
## 374    Arabic        S   Father           5                9
## 375    Arabic        F   Father          10               10
## 376    Arabic        S   Father          35                2
## 377    Arabic        F      Mum          20               90
## 378    Arabic        S      Mum          32               82
## 379    Arabic        F   Father          10               30
## 380    Arabic        S   Father          12               22
## 381    Arabic        F   Father          11               20
## 382    Arabic        S   Father          10               12
## 383    Arabic        F      Mum          69               82
## 384    Arabic        S      Mum          70               83
## 385    Arabic        F      Mum          89               92
## 386    Arabic        S      Mum          79               93
## 387    Arabic        F      Mum          15               90
## 388    Arabic        S      Mum          20               77
## 389    Arabic        F      Mum           4               10
## 390    Arabic        S      Mum           5                0
## 391   Biology        F      Mum          88               81
## 392   Biology        S      Mum          90               88
## 393   Biology        F      Mum          86               98
## 394   Biology        S      Mum          90               90
## 395   Biology        F      Mum          78               91
## 396   Biology        S      Mum          70               98
## 397   Biology        F   Father          80               80
## 398   Biology        S   Father          85               82
## 399   Biology        F   Father          88               90
## 400   Biology        S   Father          89               92
## 401   Biology        F   Father          39               71
## 402   Biology        S   Father          35               80
## 403   Biology        F   Father          76               81
## 404   Biology        S   Father          65               89
## 405   Biology        F      Mum          96               95
## 406   Biology        S      Mum          80               91
## 407   Biology        F      Mum           2                9
## 408   Biology        S      Mum           3                8
## 409   Biology        F   Father          50               79
## 410   Biology        S   Father          53               88
## 411   Biology        F      Mum          70               89
## 412   Biology        S      Mum          59               90
## 413   Biology        F   Father          78               80
## 414   Biology        S   Father          79               72
## 415   Biology        F      Mum          10                9
## 416   Biology        S      Mum           9                7
## 417   Biology        F   Father          98               90
## 418   Biology        S   Father          89               92
## 419   Biology        F   Father          88               90
## 420   Biology        S   Father          99               96
## 421 Chemistry        F      Mum          82               89
## 422 Chemistry        S      Mum          84               92
## 423   Geology        F      Mum          70               69
## 424   Geology        S      Mum          74               62
## 425   Geology        F      Mum          90               79
## 426   Geology        S      Mum          84               77
## 427 Chemistry        F      Mum          80               80
## 428 Chemistry        S      Mum          81               82
## 429 Chemistry        F   Father          10                0
## 430 Chemistry        S   Father          11                2
## 431   Geology        F   Father          85               89
## 432   Geology        S   Father          80               89
## 433   Geology        F   Father          95               87
## 434   Geology        S   Father          87               79
## 435 Chemistry        F      Mum          85               87
## 436 Chemistry        S      Mum          79               88
## 437   Geology        F      Mum          80               81
## 438   Geology        S      Mum          70               83
## 439 Chemistry        F      Mum          80               82
## 440 Chemistry        S      Mum          70               82
## 441   Geology        F      Mum          89               87
## 442   Geology        S      Mum          90               86
## 443   History        F      Mum          69               77
## 444   History        S      Mum          70               76
## 445 Chemistry        F      Mum          75               72
## 446 Chemistry        S      Mum          72               76
## 447   Geology        F      Mum          77               82
## 448   Geology        S      Mum          71               84
## 449   History        F      Mum          87               92
## 450   History        S      Mum          81               84
## 451 Chemistry        F   Father          15               97
## 452 Chemistry        S   Father          19               98
## 453   Geology        F   Father          25               82
## 454   Geology        S   Father          29               78
## 455   History        F   Father          45               87
## 456   History        S   Father          39               88
## 457 Chemistry        F   Father          85               90
## 458 Chemistry        S   Father          79               91
## 459 Chemistry        F   Father          90               91
## 460 Chemistry        S   Father          80               90
## 461   Geology        F   Father          80               83
## 462   Geology        S   Father          71               81
## 463   History        F   Father          72               87
## 464   History        S   Father          69               77
## 465 Chemistry        F      Mum          85               99
## 466 Chemistry        S      Mum          89               96
## 467   Geology        F      Mum          80               82
## 468   Geology        S      Mum          87               93
## 469 Chemistry        F   Father          15                9
## 470 Chemistry        S   Father           9                6
## 471   History        F   Father          81               86
## 472   History        S   Father          78               82
## 473   Geology        F   Father          80               87
## 474   Geology        S   Father          85               88
## 475 Chemistry        F   Father           2                7
## 476 Chemistry        S   Father           5                4
## 477   Geology        F   Father          50               77
## 478   Geology        S   Father          55               74
## 479   History        F   Father          30               17
## 480   History        S   Father          35               14
##     AnnouncementsView Discussion ParentAnsweringSurvey
## 1                   2         20                   Yes
## 2                   3         25                   Yes
## 3                   0         30                    No
## 4                   5         35                    No
## 5                  12         50                    No
## 6                  13         70                   Yes
## 7                   0         17                    No
## 8                  15         22                   Yes
## 9                  16         50                   Yes
## 10                 25         70                   Yes
## 11                 30         80                   Yes
## 12                 19         12                   Yes
## 13                  0         11                    No
## 14                 12         19                    No
## 15                 44         60                    No
## 16                 22         66                   Yes
## 17                 20         80                    No
## 18                 35         90                    No
## 19                 36         96                   Yes
## 20                 40         99                   Yes
## 21                 33         90                    No
## 22                  4         80                    No
## 23                  2         90                    No
## 24                  2         50                    No
## 25                  3         70                   Yes
## 26                 30         40                   Yes
## 27                 25         40                   Yes
## 28                 12         33                    No
## 29                 52         43                   Yes
## 30                 33         35                    No
## 31                 50         70                   Yes
## 32                 40         16                   Yes
## 33                 10         50                   Yes
## 34                  9         40                    No
## 35                  8         40                    No
## 36                 17         30                    No
## 37                  4         22                   Yes
## 38                 26         90                   Yes
## 39                  0          4                    No
## 40                 37         70                   Yes
## 41                  3         70                    No
## 42                 16         50                    No
## 43                  7         33                   Yes
## 44                 28         90                   Yes
## 45                 30         90                    No
## 46                 15         70                    No
## 47                  1         30                    No
## 48                 39         90                   Yes
## 49                 40         88                   Yes
## 50                 50         77                   Yes
## 51                 12         70                    No
## 52                 16         50                    No
## 53                 16         40                    No
## 54                 19         75                   Yes
## 55                  8         30                    No
## 56                  6         20                   Yes
## 57                  4          1                   Yes
## 58                  6          5                   Yes
## 59                 19         50                   Yes
## 60                 22         40                    No
## 61                 28         20                    No
## 62                 32         40                   Yes
## 63                 70         80                   Yes
## 64                 16         12                   Yes
## 65                  7          2                    No
## 66                 18         19                    No
## 67                 19         30                    No
## 68                 23         80                   Yes
## 69                 35         30                   Yes
## 70                 11         33                    No
## 71                 10         12                   Yes
## 72                  9         20                   Yes
## 73                  2          8                    No
## 74                 26         19                   Yes
## 75                  6         13                    No
## 76                 29         60                   Yes
## 77                 37         44                   Yes
## 78                 33         33                   Yes
## 79                 11          9                    No
## 80                 49         55                   Yes
## 81                 10         40                   Yes
## 82                  1         70                    No
## 83                  2         80                   Yes
## 84                 10         50                    No
## 85                 50         10                   Yes
## 86                  1         12                    No
## 87                 40         50                   Yes
## 88                  3         50                    No
## 89                  4         33                    No
## 90                  1         50                   Yes
## 91                 10         60                   Yes
## 92                 55         19                   Yes
## 93                 19         15                   Yes
## 94                 40         40                   Yes
## 95                 35         10                    No
## 96                  2         70                    No
## 97                 11         75                   Yes
## 98                 38         12                    No
## 99                  0         30                    No
## 100                 9         50                   Yes
## 101                40         90                   Yes
## 102                50          7                   Yes
## 103                 2          8                    No
## 104                 6         10                    No
## 105                 3          3                   Yes
## 106                 5         80                   Yes
## 107                 7         40                   Yes
## 108                41         33                   Yes
## 109                 5          3                    No
## 110                30         14                    No
## 111                55         40                   Yes
## 112                51         80                    No
## 113                 3         50                    No
## 114                 0         69                    No
## 115                 0         50                    No
## 116                11         70                   Yes
## 117                12         19                   Yes
## 118                40         17                    No
## 119                23         22                   Yes
## 120                 3         60                    No
## 121                 0         50                   Yes
## 122                 8         30                    No
## 123                55         12                   Yes
## 124                 7          5                   Yes
## 125                 4         15                   Yes
## 126                 0         17                    No
## 127                 7         55                   Yes
## 128                 6          9                    No
## 129                20         16                    No
## 130                 2          2                   Yes
## 131                 5         30                    No
## 132                20         50                   Yes
## 133                10          3                    No
## 134                 0         70                   Yes
## 135                15         70                   Yes
## 136                95         70                   Yes
## 137                95         70                   Yes
## 138                50         40                    No
## 139                95         90                    No
## 140                85         70                    No
## 141                 5         20                   Yes
## 142                50         10                    No
## 143                55         11                   Yes
## 144                55         19                   Yes
## 145                15         19                    No
## 146                55         11                   Yes
## 147                50         70                   Yes
## 148                30         30                    No
## 149                30         40                    No
## 150                50         70                   Yes
## 151                51         59                   Yes
## 152                71         89                   Yes
## 153                98         40                   Yes
## 154                40         40                    No
## 155                33         41                    No
## 156                73         91                   Yes
## 157                30         49                   Yes
## 158                33         40                    No
## 159                48         10                    No
## 160                48         80                   Yes
## 161                58         50                   Yes
## 162                58         66                    No
## 163                 3         73                    No
## 164                93         43                    No
## 165                83         14                   Yes
## 166                73         66                   Yes
## 167                53         43                    No
## 168                83         43                   Yes
## 169                23         33                   Yes
## 170                29         23                    No
## 171                83         33                   Yes
## 172                23         33                    No
## 173                53         13                    No
## 174                23         33                   Yes
## 175                73         43                   Yes
## 176                13         53                    No
## 177                23         33                   Yes
## 178                83         11                   Yes
## 179                33         13                   Yes
## 180                20         33                    No
## 181                63         93                   Yes
## 182                13         33                    No
## 183                62         53                   Yes
## 184                32         53                    No
## 185                30         13                    No
## 186                82         33                   Yes
## 187                22         53                   Yes
## 188                52         51                   Yes
## 189                72         53                   Yes
## 190                12         23                    No
## 191                32         53                    No
## 192                37         13                   Yes
## 193                62         53                   Yes
## 194                62         53                    No
## 195                72         23                    No
## 196                42         33                   Yes
## 197                62         53                   Yes
## 198                62         53                    No
## 199                42         53                    No
## 200                12         13                    No
## 201                52         83                   Yes
## 202                52         43                   Yes
## 203                12         33                   Yes
## 204                42         40                   Yes
## 205                12         24                    No
## 206                42         24                   Yes
## 207                42         14                   Yes
## 208                42         14                   Yes
## 209                49         14                    No
## 210                39         84                    No
## 211                82         14                   Yes
## 212                42         14                    No
## 213                42         19                   Yes
## 214                22         14                    No
## 215                 2          4                    No
## 216                42         14                    No
## 217                32         61                   Yes
## 218                40         10                   Yes
## 219                42         94                   Yes
## 220                46         34                   Yes
## 221                41         13                   Yes
## 222                40         24                    No
## 223                82         40                   Yes
## 224                12         90                   Yes
## 225                22         70                   Yes
## 226                12         30                    No
## 227                62         30                    No
## 228                 2         10                   Yes
## 229                77         81                   Yes
## 230                21         10                    No
## 231                12         29                    No
## 232                21         20                   Yes
## 233                15         50                   Yes
## 234                58         46                   Yes
## 235                58         66                   Yes
## 236                18         26                    No
## 237                13          6                    No
## 238                58         66                   Yes
## 239                58         66                   Yes
## 240                88         76                   Yes
## 241                98         96                   Yes
## 242                58         86                   Yes
## 243                18          6                    No
## 244                38         46                    No
## 245                83         85                   Yes
## 246                52         66                   Yes
## 247                62         77                   Yes
## 248                82         96                    No
## 249                 2         16                    No
## 250                62         40                    No
## 251                32         40                   Yes
## 252                32         17                    No
## 253                82         94                    No
## 254                12         44                    No
## 255                42         70                   Yes
## 256                12         40                   Yes
## 257                72         60                    No
## 258                66         65                    No
## 259                86         95                   Yes
## 260                12         17                    No
## 261                12         14                    No
## 262                82         64                   Yes
## 263                52         34                   Yes
## 264                42          7                    No
## 265                42         32                    No
## 266                82         37                    No
## 267                12         17                   Yes
## 268                32         29                   Yes
## 269                10         10                   Yes
## 270                40         20                   Yes
## 271                52         30                    No
## 272                32         36                    No
## 273                 2         16                    No
## 274                 6         26                    No
## 275                82         70                   Yes
## 276                80         60                   Yes
## 277                22         26                   Yes
## 278                42         27                   Yes
## 279                52         25                    No
## 280                46         27                    No
## 281                56         37                    No
## 282                56         37                    No
## 283                72         80                    No
## 284                82         86                    No
## 285                32         36                    No
## 286                35         39                   Yes
## 287                85         89                   Yes
## 288                91         85                   Yes
## 289                65         69                   Yes
## 290                76         80                   Yes
## 291                32         44                    No
## 292                12         24                    No
## 293                82         74                   Yes
## 294                72         84                   Yes
## 295                82         74                   Yes
## 296                72         84                   Yes
## 297                86         84                    No
## 298                82         89                    No
## 299                26         34                    No
## 300                32         29                    No
## 301                20         13                    No
## 302                15          9                    No
## 303                21         23                    No
## 304                25         39                    No
## 305                24         43                   Yes
## 306                29         89                   Yes
## 307                74         83                   Yes
## 308                59         89                   Yes
## 309                74         89                   Yes
## 310                79         79                   Yes
## 311                34         33                    No
## 312                29         39                    No
## 313                44         43                   Yes
## 314                69         49                   Yes
## 315                74         83                   Yes
## 316                89         89                   Yes
## 317                83         23                   Yes
## 318                83         13                   Yes
## 319                13          3                   Yes
## 320                23         10                   Yes
## 321                23         11                   Yes
## 322                20         15                   Yes
## 323                10         21                    No
## 324                20          5                    No
## 325                18         31                    No
## 326                33         35                    No
## 327                10         21                    No
## 328                20          5                    No
## 329                63         83                   Yes
## 330                73         80                   Yes
## 331                50         41                    No
## 332                29         33                    No
## 333                30         21                    No
## 334                29         23                    No
## 335                 9          3                    No
## 336                12          7                    No
## 337                20         21                    No
## 338                15         20                    No
## 339                10         11                    No
## 340                11         14                    No
## 341                15         11                    No
## 342                13         10                    No
## 343                50         41                    No
## 344                29         33                    No
## 345                15         14                    No
## 346                20         30                    No
## 347                15         14                    No
## 348                20         30                    No
## 349                 9          3                    No
## 350                12          7                    No
## 351                 6          6                    No
## 352                11         10                    No
## 353                40         11                   Yes
## 354                21         13                   Yes
## 355                42         21                   Yes
## 356                41         23                   Yes
## 357                32         25                   Yes
## 358                21         27                   Yes
## 359                52         15                   Yes
## 360                51         17                   Yes
## 361                31         28                   Yes
## 362                41         38                   Yes
## 363                41         38                   Yes
## 364                51         39                   Yes
## 365                21         28                   Yes
## 366                31         29                   Yes
## 367                71         38                   Yes
## 368                51         48                   Yes
## 369                60         31                    No
## 370                51         34                    No
## 371                50         21                    No
## 372                29         23                    No
## 373                22         97                    No
## 374                19         98                    No
## 375                40         51                    No
## 376                29         23                    No
## 377                50         61                   Yes
## 378                59         63                   Yes
## 379                50         91                   Yes
## 380                59         83                   Yes
## 381                20         98                    No
## 382                29         93                    No
## 383                20         28                   Yes
## 384                29         33                   Yes
## 385                40         28                   Yes
## 386                49         23                   Yes
## 387                21         97                   Yes
## 388                31         88                   Yes
## 389                11          7                    No
## 390                 1          8                    No
## 391                50         10                   Yes
## 392                54         12                   Yes
## 393                50         20                   Yes
## 394                57         22                   Yes
## 395                50         40                   Yes
## 396                54         72                   Yes
## 397                46         61                   Yes
## 398                59         63                   Yes
## 399                86         81                   Yes
## 400                89         83                   Yes
## 401                40         26                    No
## 402                34         22                    No
## 403                80         86                    No
## 404                64         82                    No
## 405                70         70                   Yes
## 406                87         72                   Yes
## 407                10          1                    No
## 408                19          3                    No
## 409                10         31                    No
## 410                 9         33                    No
## 411                12         21                    No
## 412                19         43                    No
## 413                66         51                   Yes
## 414                79         83                   Yes
## 415                 2          1                    No
## 416                 9          3                    No
## 417                86         71                   Yes
## 418                89         83                   Yes
## 419                76         81                   Yes
## 420                89         84                   Yes
## 421                22         31                   Yes
## 422                29         43                   Yes
## 423                46         45                   Yes
## 424                49         43                   Yes
## 425                76         79                   Yes
## 426                79         68                   Yes
## 427                62         11                   Yes
## 428                69         13                   Yes
## 429                 2         41                    No
## 430                 9         49                    No
## 431                22         61                    No
## 432                23         68                    No
## 433                62         81                    No
## 434                73         98                    No
## 435                72         10                   Yes
## 436                79         20                   Yes
## 437                71         30                   Yes
## 438                70         23                   Yes
## 439                76         19                   Yes
## 440                75         29                   Yes
## 441                86         15                   Yes
## 442                85         10                   Yes
## 443                76         75                   Yes
## 444                65         70                   Yes
## 445                64         39                   Yes
## 446                66         40                   Yes
## 447                74         79                   Yes
## 448                67         80                   Yes
## 449                74         89                   Yes
## 450                77         85                   Yes
## 451                22         10                   Yes
## 452                20          2                   Yes
## 453                52         20                   Yes
## 454                40         12                   Yes
## 455                57         80                   Yes
## 456                43         72                   Yes
## 457                52         30                   Yes
## 458                49         22                   Yes
## 459                80         81                   Yes
## 460                80         83                   Yes
## 461                82         71                   Yes
## 462                83         72                   Yes
## 463                72         89                   Yes
## 464                83         92                   Yes
## 465                42         90                   Yes
## 466                45         92                   Yes
## 467                64         58                   Yes
## 468                63         60                   Yes
## 469                14         80                    No
## 470                15         85                    No
## 471                86         41                   Yes
## 472                78         53                   Yes
## 473                74         68                   Yes
## 474                79         70                   Yes
## 475                 4          8                    No
## 476                 5          8                    No
## 477                14         28                    No
## 478                25         29                    No
## 479                14         57                    No
## 480                23         62                    No
##     ParentschoolSatisfaction StudentAbsenceDays Class
## 1                       Good            Under-7     M
## 2                       Good            Under-7     M
## 3                        Bad            Above-7     L
## 4                        Bad            Above-7     L
## 5                        Bad            Above-7     M
## 6                        Bad            Above-7     M
## 7                        Bad            Above-7     L
## 8                       Good            Under-7     M
## 9                       Good            Under-7     M
## 10                      Good            Under-7     M
## 11                      Good            Under-7     H
## 12                      Good            Under-7     M
## 13                       Bad            Above-7     L
## 14                       Bad            Above-7     L
## 15                       Bad            Above-7     H
## 16                      Good            Under-7     M
## 17                       Bad            Above-7     M
## 18                       Bad            Above-7     M
## 19                      Good            Under-7     M
## 20                      Good            Under-7     H
## 21                       Bad            Above-7     M
## 22                       Bad            Under-7     M
## 23                       Bad            Under-7     M
## 24                       Bad            Above-7     L
## 25                      Good            Above-7     L
## 26                      Good            Above-7     L
## 27                       Bad            Under-7     M
## 28                       Bad            Above-7     L
## 29                      Good            Under-7     M
## 30                       Bad            Under-7     M
## 31                      Good            Under-7     H
## 32                      Good            Above-7     L
## 33                      Good            Above-7     L
## 34                       Bad            Above-7     L
## 35                       Bad            Above-7     L
## 36                       Bad            Above-7     L
## 37                      Good            Above-7     L
## 38                      Good            Under-7     M
## 39                       Bad            Above-7     L
## 40                      Good            Under-7     M
## 41                       Bad            Above-7     L
## 42                      Good            Under-7     M
## 43                      Good            Above-7     L
## 44                      Good            Under-7     M
## 45                       Bad            Under-7     M
## 46                      Good            Above-7     L
## 47                       Bad            Above-7     L
## 48                      Good            Under-7     H
## 49                      Good            Under-7     H
## 50                      Good            Under-7     M
## 51                       Bad            Above-7     L
## 52                      Good            Above-7     L
## 53                       Bad            Under-7     M
## 54                      Good            Under-7     H
## 55                       Bad            Above-7     L
## 56                      Good            Above-7     L
## 57                      Good            Above-7     L
## 58                      Good            Above-7     L
## 59                      Good            Under-7     M
## 60                      Good            Under-7     M
## 61                      Good            Above-7     L
## 62                      Good            Under-7     M
## 63                      Good            Under-7     H
## 64                       Bad            Under-7     M
## 65                       Bad            Above-7     L
## 66                       Bad            Above-7     L
## 67                       Bad            Above-7     M
## 68                      Good            Under-7     H
## 69                      Good            Under-7     H
## 70                       Bad            Under-7     M
## 71                      Good            Above-7     L
## 72                      Good            Under-7     M
## 73                       Bad            Under-7     L
## 74                       Bad            Above-7     M
## 75                       Bad            Under-7     L
## 76                      Good            Under-7     M
## 77                      Good            Under-7     M
## 78                      Good            Under-7     M
## 79                       Bad            Above-7     L
## 80                       Bad            Under-7     H
## 81                       Bad            Under-7     L
## 82                       Bad            Above-7     L
## 83                      Good            Above-7     L
## 84                      Good            Above-7     M
## 85                      Good            Above-7     H
## 86                       Bad            Above-7     L
## 87                      Good            Under-7     H
## 88                       Bad            Under-7     L
## 89                       Bad            Under-7     L
## 90                      Good            Above-7     L
## 91                      Good            Above-7     L
## 92                      Good            Under-7     H
## 93                      Good            Under-7     H
## 94                      Good            Under-7     H
## 95                      Good            Above-7     L
## 96                       Bad            Under-7     H
## 97                      Good            Under-7     H
## 98                       Bad            Under-7     M
## 99                       Bad            Under-7     M
## 100                      Bad            Above-7     M
## 101                      Bad            Under-7     M
## 102                     Good            Under-7     H
## 103                      Bad            Above-7     L
## 104                      Bad            Above-7     L
## 105                     Good            Above-7     M
## 106                     Good            Above-7     L
## 107                     Good            Under-7     M
## 108                      Bad            Under-7     H
## 109                      Bad            Above-7     M
## 110                      Bad            Under-7     M
## 111                     Good            Under-7     H
## 112                     Good            Under-7     M
## 113                      Bad            Above-7     L
## 114                      Bad            Above-7     L
## 115                      Bad            Above-7     L
## 116                     Good            Above-7     L
## 117                     Good            Above-7     M
## 118                     Good            Under-7     H
## 119                     Good            Above-7     M
## 120                      Bad            Under-7     M
## 121                     Good            Under-7     M
## 122                      Bad            Above-7     L
## 123                     Good            Above-7     M
## 124                     Good            Under-7     M
## 125                      Bad            Under-7     L
## 126                     Good            Above-7     L
## 127                     Good            Under-7     M
## 128                      Bad            Above-7     L
## 129                      Bad            Under-7     L
## 130                     Good            Under-7     L
## 131                      Bad            Above-7     L
## 132                     Good            Under-7     M
## 133                      Bad            Above-7     L
## 134                     Good            Above-7     L
## 135                     Good            Under-7     H
## 136                     Good            Under-7     H
## 137                     Good            Under-7     H
## 138                      Bad            Under-7     M
## 139                      Bad            Under-7     H
## 140                      Bad            Under-7     M
## 141                      Bad            Above-7     L
## 142                      Bad            Above-7     L
## 143                     Good            Under-7     M
## 144                     Good            Under-7     H
## 145                      Bad            Above-7     L
## 146                      Bad            Under-7     M
## 147                     Good            Under-7     H
## 148                      Bad            Under-7     M
## 149                      Bad            Under-7     M
## 150                      Bad            Under-7     H
## 151                     Good            Under-7     H
## 152                     Good            Under-7     M
## 153                      Bad            Under-7     H
## 154                      Bad            Above-7     L
## 155                      Bad            Above-7     M
## 156                      Bad            Under-7     H
## 157                     Good            Under-7     M
## 158                     Good            Under-7     M
## 159                      Bad            Above-7     L
## 160                     Good            Under-7     M
## 161                     Good            Under-7     H
## 162                      Bad            Under-7     M
## 163                      Bad            Under-7     H
## 164                      Bad            Above-7     M
## 165                     Good            Above-7     M
## 166                     Good            Under-7     H
## 167                      Bad            Under-7     M
## 168                     Good            Under-7     H
## 169                     Good            Under-7     H
## 170                      Bad            Under-7     M
## 171                     Good            Under-7     H
## 172                     Good            Under-7     M
## 173                     Good            Above-7     L
## 174                     Good            Above-7     L
## 175                      Bad            Above-7     M
## 176                      Bad            Above-7     L
## 177                      Bad            Under-7     H
## 178                      Bad            Under-7     M
## 179                      Bad            Under-7     H
## 180                      Bad            Under-7     M
## 181                      Bad            Under-7     H
## 182                      Bad            Above-7     L
## 183                      Bad            Under-7     H
## 184                      Bad            Under-7     M
## 185                      Bad            Above-7     L
## 186                     Good            Under-7     H
## 187                     Good            Under-7     M
## 188                     Good            Under-7     M
## 189                     Good            Under-7     H
## 190                      Bad            Under-7     M
## 191                      Bad            Under-7     L
## 192                     Good            Above-7     L
## 193                     Good            Under-7     M
## 194                      Bad            Under-7     M
## 195                      Bad            Under-7     M
## 196                     Good            Under-7     M
## 197                     Good            Under-7     H
## 198                      Bad            Under-7     H
## 199                      Bad            Above-7     L
## 200                      Bad            Under-7     M
## 201                      Bad            Under-7     H
## 202                     Good            Under-7     H
## 203                     Good            Under-7     M
## 204                      Bad            Under-7     M
## 205                      Bad            Above-7     L
## 206                      Bad            Above-7     H
## 207                     Good            Under-7     M
## 208                     Good            Under-7     M
## 209                      Bad            Under-7     M
## 210                      Bad            Under-7     M
## 211                     Good            Under-7     H
## 212                      Bad            Under-7     M
## 213                     Good            Under-7     H
## 214                      Bad            Above-7     L
## 215                      Bad            Above-7     L
## 216                     Good            Above-7     L
## 217                      Bad            Above-7     M
## 218                     Good            Under-7     M
## 219                      Bad            Under-7     H
## 220                     Good            Under-7     M
## 221                     Good            Under-7     M
## 222                     Good            Under-7     M
## 223                      Bad            Under-7     M
## 224                     Good            Under-7     H
## 225                      Bad            Under-7     H
## 226                      Bad            Under-7     M
## 227                      Bad            Under-7     L
## 228                     Good            Under-7     L
## 229                     Good            Above-7     H
## 230                      Bad            Above-7     L
## 231                      Bad            Above-7     M
## 232                     Good            Above-7     L
## 233                     Good            Above-7     M
## 234                     Good            Above-7     M
## 235                     Good            Above-7     M
## 236                      Bad            Above-7     L
## 237                      Bad            Above-7     L
## 238                     Good            Above-7     M
## 239                     Good            Above-7     M
## 240                     Good            Under-7     H
## 241                      Bad            Under-7     H
## 242                     Good            Under-7     M
## 243                      Bad            Above-7     L
## 244                      Bad            Above-7     M
## 245                      Bad            Under-7     H
## 246                      Bad            Under-7     M
## 247                     Good            Under-7     H
## 248                      Bad            Above-7     M
## 249                      Bad            Above-7     L
## 250                     Good            Above-7     M
## 251                     Good            Under-7     H
## 252                     Good            Above-7     L
## 253                      Bad            Under-7     M
## 254                      Bad            Above-7     L
## 255                     Good            Under-7     H
## 256                     Good            Under-7     H
## 257                     Good            Under-7     H
## 258                     Good            Under-7     M
## 259                     Good            Under-7     M
## 260                      Bad            Above-7     L
## 261                      Bad            Above-7     L
## 262                      Bad            Above-7     M
## 263                     Good            Above-7     M
## 264                      Bad            Above-7     M
## 265                      Bad            Under-7     M
## 266                      Bad            Under-7     H
## 267                     Good            Above-7     M
## 268                     Good            Above-7     M
## 269                      Bad            Above-7     M
## 270                      Bad            Above-7     M
## 271                     Good            Under-7     H
## 272                     Good            Under-7     M
## 273                      Bad            Under-7     M
## 274                      Bad            Under-7     H
## 275                     Good            Under-7     H
## 276                     Good            Under-7     H
## 277                     Good            Under-7     H
## 278                     Good            Under-7     H
## 279                     Good            Under-7     M
## 280                     Good            Under-7     M
## 281                     Good            Under-7     H
## 282                     Good            Under-7     H
## 283                     Good            Under-7     H
## 284                     Good            Under-7     H
## 285                      Bad            Above-7     M
## 286                      Bad            Above-7     M
## 287                     Good            Under-7     H
## 288                     Good            Under-7     H
## 289                     Good            Under-7     M
## 290                     Good            Under-7     M
## 291                      Bad            Above-7     L
## 292                      Bad            Above-7     L
## 293                     Good            Under-7     H
## 294                     Good            Under-7     H
## 295                     Good            Above-7     M
## 296                     Good            Above-7     M
## 297                     Good            Under-7     H
## 298                     Good            Under-7     H
## 299                     Good            Above-7     M
## 300                     Good            Above-7     M
## 301                      Bad            Above-7     L
## 302                      Bad            Above-7     L
## 303                      Bad            Under-7     M
## 304                      Bad            Under-7     M
## 305                      Bad            Under-7     M
## 306                      Bad            Under-7     M
## 307                     Good            Under-7     H
## 308                     Good            Under-7     H
## 309                     Good            Above-7     M
## 310                     Good            Above-7     M
## 311                     Good            Above-7     M
## 312                     Good            Above-7     M
## 313                     Good            Under-7     H
## 314                     Good            Under-7     H
## 315                     Good            Under-7     H
## 316                     Good            Under-7     H
## 317                     Good            Under-7     H
## 318                     Good            Under-7     H
## 319                     Good            Under-7     H
## 320                     Good            Under-7     H
## 321                     Good            Above-7     M
## 322                     Good            Above-7     M
## 323                      Bad            Above-7     L
## 324                      Bad            Above-7     L
## 325                      Bad            Under-7     M
## 326                      Bad            Under-7     M
## 327                      Bad            Above-7     L
## 328                      Bad            Above-7     L
## 329                     Good            Under-7     M
## 330                     Good            Under-7     M
## 331                     Good            Above-7     L
## 332                     Good            Above-7     L
## 333                     Good            Under-7     M
## 334                     Good            Under-7     M
## 335                     Good            Above-7     L
## 336                     Good            Above-7     L
## 337                     Good            Under-7     M
## 338                     Good            Under-7     M
## 339                     Good            Under-7     M
## 340                     Good            Under-7     M
## 341                     Good            Under-7     M
## 342                     Good            Under-7     M
## 343                      Bad            Under-7     M
## 344                      Bad            Under-7     M
## 345                     Good            Under-7     H
## 346                     Good            Under-7     H
## 347                     Good            Under-7     H
## 348                     Good            Under-7     H
## 349                     Good            Above-7     L
## 350                     Good            Above-7     L
## 351                     Good            Above-7     L
## 352                     Good            Above-7     L
## 353                     Good            Under-7     M
## 354                     Good            Under-7     M
## 355                     Good            Under-7     H
## 356                     Good            Under-7     H
## 357                     Good            Under-7     M
## 358                     Good            Under-7     M
## 359                     Good            Under-7     H
## 360                     Good            Under-7     H
## 361                     Good            Above-7     M
## 362                     Good            Above-7     M
## 363                     Good            Under-7     H
## 364                     Good            Under-7     H
## 365                     Good            Under-7     H
## 366                     Good            Under-7     H
## 367                     Good            Above-7     M
## 368                     Good            Above-7     M
## 369                     Good            Under-7     H
## 370                     Good            Under-7     H
## 371                      Bad            Under-7     M
## 372                      Bad            Under-7     M
## 373                      Bad            Above-7     L
## 374                      Bad            Above-7     L
## 375                      Bad            Above-7     L
## 376                      Bad            Above-7     L
## 377                      Bad            Above-7     M
## 378                      Bad            Above-7     M
## 379                      Bad            Above-7     L
## 380                      Bad            Above-7     L
## 381                      Bad            Above-7     L
## 382                      Bad            Above-7     L
## 383                     Good            Under-7     H
## 384                     Good            Under-7     H
## 385                     Good            Under-7     H
## 386                     Good            Under-7     H
## 387                     Good            Under-7     M
## 388                     Good            Under-7     M
## 389                     Good            Above-7     L
## 390                     Good            Above-7     L
## 391                     Good            Above-7     M
## 392                     Good            Above-7     M
## 393                     Good            Under-7     H
## 394                     Good            Under-7     H
## 395                     Good            Under-7     H
## 396                     Good            Under-7     H
## 397                      Bad            Under-7     M
## 398                      Bad            Under-7     M
## 399                     Good            Under-7     H
## 400                     Good            Under-7     H
## 401                     Good            Above-7     M
## 402                     Good            Above-7     M
## 403                     Good            Under-7     H
## 404                     Good            Under-7     H
## 405                     Good            Under-7     H
## 406                     Good            Under-7     H
## 407                      Bad            Above-7     L
## 408                      Bad            Above-7     L
## 409                      Bad            Under-7     M
## 410                      Bad            Under-7     M
## 411                     Good            Under-7     H
## 412                     Good            Under-7     H
## 413                     Good            Under-7     M
## 414                     Good            Under-7     M
## 415                     Good            Above-7     L
## 416                     Good            Above-7     L
## 417                     Good            Under-7     H
## 418                     Good            Under-7     H
## 419                     Good            Under-7     H
## 420                     Good            Under-7     H
## 421                     Good            Under-7     H
## 422                     Good            Under-7     H
## 423                     Good            Above-7     M
## 424                     Good            Above-7     M
## 425                     Good            Under-7     H
## 426                     Good            Under-7     H
## 427                     Good            Above-7     M
## 428                     Good            Above-7     M
## 429                      Bad            Above-7     L
## 430                      Bad            Above-7     L
## 431                      Bad            Under-7     H
## 432                      Bad            Under-7     H
## 433                      Bad            Under-7     M
## 434                      Bad            Under-7     M
## 435                     Good            Above-7     M
## 436                     Good            Above-7     M
## 437                     Good            Under-7     M
## 438                     Good            Under-7     M
## 439                     Good            Under-7     M
## 440                     Good            Under-7     M
## 441                     Good            Under-7     M
## 442                     Good            Under-7     M
## 443                     Good            Above-7     M
## 444                     Good            Above-7     M
## 445                     Good            Above-7     L
## 446                     Good            Above-7     L
## 447                     Good            Under-7     M
## 448                     Good            Under-7     M
## 449                     Good            Under-7     H
## 450                     Good            Under-7     H
## 451                     Good            Under-7     H
## 452                     Good            Under-7     H
## 453                     Good            Above-7     M
## 454                     Good            Above-7     M
## 455                     Good            Under-7     M
## 456                     Good            Under-7     M
## 457                     Good            Under-7     H
## 458                     Good            Under-7     H
## 459                     Good            Under-7     H
## 460                     Good            Under-7     H
## 461                     Good            Above-7     M
## 462                     Good            Above-7     M
## 463                     Good            Above-7     M
## 464                     Good            Above-7     M
## 465                     Good            Under-7     H
## 466                     Good            Under-7     H
## 467                     Good            Under-7     H
## 468                     Good            Under-7     H
## 469                      Bad            Above-7     L
## 470                      Bad            Above-7     L
## 471                     Good            Under-7     M
## 472                     Good            Under-7     M
## 473                     Good            Under-7     M
## 474                     Good            Under-7     M
## 475                      Bad            Above-7     L
## 476                      Bad            Above-7     L
## 477                      Bad            Under-7     M
## 478                      Bad            Under-7     M
## 479                      Bad            Above-7     L
## 480                      Bad            Above-7     L

Task 1.2. Bar plots of classification values distribution:

Gender distribution:

ggplot(data = E, aes(x = gender, fill = Relation)) + geom_bar() +
    labs(x = "Gender", y = "Student Count")+ ggtitle(label = "Gender Distribution")+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+ scale_y_continuous(breaks = seq(0,320,20))

There are nearly 175 girls and 305 boys in this data set. The number of girls who have mom as guardian nearly the same as having father as guardian, whereas most boys have father as guardians.

ggplot(data = E, aes(x = gender, fill = ParentAnsweringSurvey)) + geom_bar() +
    labs(x = "Gender", y = "Student Count") + ggtitle(label = "Gender Distribution")+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

 ESummary = E %>%
 # Get the counts
 group_by(gender, ParentAnsweringSurvey) %>%
 summarise(count = n()) %>%
# Get labels and position of labels
 group_by(gender) %>%
 mutate(Percent = paste0(sprintf("%.1f", count/sum(count) * 100),"%"))
## Warning: package 'bindrcpp' was built under R version 3.4.2
 ggplot(ESummary, aes(x = gender, y = count)) + 
 geom_bar(aes(fill = ParentAnsweringSurvey), stat ="identity", position = 'fill')+ labs(x = "Gender", y = "Student Count")+ ggtitle(label = "Normalized Gender Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+theme(axis.text.x = element_text(angle=0, hjust=1))+ scale_y_continuous(breaks = seq(0,1,0.2))

The rates of parent answering survey are nearly the same between girls and boys, which are both under 60%.

ggplot(data = E, aes(x = gender, fill = ParentschoolSatisfaction)) + geom_bar() +
    labs(x = "Gender", y = "Student Count")+ ggtitle(label = "Gender Distribution")+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

 ESummary = E %>%
 # Get the counts
 group_by(gender, ParentschoolSatisfaction) %>%
 summarise(count = n()) %>%
# Get labels and position of labels
 group_by(gender) %>%
 mutate(Percent = paste0(sprintf("%.1f", count/sum(count) * 100),"%"))

 ggplot(ESummary, aes(x = gender, y = count)) + 
 geom_bar(aes(fill = ParentschoolSatisfaction), stat ="identity", position = 'fill')+ labs(x = "Gender", y = "Student Count")+ ggtitle(label = "Normalized Gender Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+ scale_y_continuous(breaks = seq(0,1,0.1))

Girls’ parents has higher school satisfaction than boys. Girls have higher rate(with about 67%) of parent school satisfaction in good than boys(with about 57%).

ggplot(data = E, aes(x = gender, fill = StudentAbsenceDays)) + geom_bar() +
    labs(x = "Gender", y = "Student Count")+ ggtitle(label = "Gender Distribution")+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

 ESummary = E %>%
 # Get the counts
 group_by(gender, StudentAbsenceDays) %>%
 summarise(count = n()) %>%
# Get labels and position of labels
 group_by(gender) %>%
 mutate(Percent = paste0(sprintf("%.1f", count/sum(count) * 100),"%"))

 ggplot(ESummary, aes(x = gender, y = count)) + 
 geom_bar(aes(fill = StudentAbsenceDays), stat ="identity", position = 'fill')+ labs(x = "Gender", y = "Student Count")+ ggtitle(label = "Normalized Gender Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+ scale_y_continuous(breaks = seq(0,1,0.1))

Boys has higher rate of above 7 absence days.

ggplot(data = E, aes(x = gender, fill = Class)) + geom_bar() +
    labs(x = "Gender", y = "Student Count")  + ggtitle(label = "Gender Distribution")+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

 ESummary = E %>%
 # Get the counts
 group_by(gender, Class) %>%
 summarise(count = n()) %>%
# Get labels and position of labels
 group_by(gender) %>%
 mutate(Percent = paste0(sprintf("%.1f", count/sum(count) * 100),"%"))

 ggplot(ESummary, aes(x = gender, y = count)) + 
 geom_bar(aes(fill = Class), stat ="identity", position = 'fill')+ labs(x = "Gender", y = "Student Count")+ ggtitle(label = "Normalized Gender Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+ scale_y_continuous(breaks = seq(0,1,0.1))

Girls have higher rate (over 40%) of people with high academic performance, whereas a small rate of boys (about 20%) have high performance. The rate of median class is almost the same both for girls and boys, which are both about 40%. About 35% rate of boys have low performance, whereas the rate of low class is very low among girls.

Place of Birth distribution:

ggplot(data = E, aes(x = PlaceofBirth, fill = Class)) + geom_bar() +
    labs(x = "PlaceofBirth", y = "Student Count") + ggtitle(label = "PlaceofBirth Distribution")+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+theme(axis.text.x = element_text(angle=90, hjust=1))+ scale_y_continuous(breaks = seq(0,200,10))

 ESummary = E %>%
 # Get the counts
 group_by(PlaceofBirth, Class) %>%
 summarise(count = n()) %>%
# Get labels and position of labels
 group_by(PlaceofBirth) %>%
 mutate(Percent = paste0(sprintf("%.1f", count/sum(count) * 100),"%"))

 ggplot(ESummary, aes(x = PlaceofBirth, y = count)) + 
 geom_bar(aes(fill = Class), stat ="identity", position = 'fill')+ labs(x = "Topic", y = "Student Count")+ ggtitle(label = "Normalized PlaceofBirth Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+theme(axis.text.x = element_text(angle=90, hjust=1))

Most of the students were born in Jordan and Kuwait. Venzuela has only one student.

Iraq, Lebanon, Saudiarabia, Palestine, USA and Venzuela have higher rate of student with high class, whereas Kuwait and Lybia have higher rate of students with low class.

ggplot(data = E, aes(x = PlaceofBirth, fill = NationalITy)) + geom_bar(colour= "Black") +
    labs(x = "PlaceofBirth", y = "Student Count")+ ggtitle(label = "PlaceofBirth Distribution")+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold")) +theme(axis.text.x = element_text(angle=90, hjust=1))

Most of the students who were born in these countries of Egypt, Iran, Iraq, Kuwait, Lebanon, Lybia, Morocco, Syria, Tunis and Venzuela have the same nationality as the place of birth. some of the students who were born in Jordan have the nationality of Palestine. The students who were born in USA have diversity of nationality. Half of the students who were born in Saudiarabia have the nationality of Jordan.

ggplot(data = E, aes(x = PlaceofBirth, fill = gender)) + geom_bar() +
    labs(x = "PlaceofBirth", y = "Student Count")+ ggtitle(label = "PlaceofBirth Distribution")+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold")) +theme(axis.text.x = element_text(angle=90, hjust=1))

Lebanon has most rate of girls, half of the USA students are girls. Girls are less than boys in the other areas.

ggplot(data = E, aes(x = PlaceofBirth, fill = Relation)) + geom_bar() +
    labs(x = "PlaceofBirth", y = "Student Count")+ ggtitle(label = "PlaceofBirth Distribution")+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold")) +theme(axis.text.x = element_text(angle=90, hjust=1))

Based on the place of birth, most fathers are responsible for students in some countries like: Kuwait, Iraq, Saudiarabia. Most mothers are responsible for students’ study in these areas like: Egypt, Iran, Jordan, Lebanon, LYbia, Morocco, Palestine and Venzuela.

Nationality distribution:

ggplot(data = E, aes(x = NationalITy, fill = Class)) + geom_bar() +
    labs(x = "Nationality", y = "Student Count")+ ggtitle(label = "Nationality Distribution")+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+theme(axis.text.x = element_text(angle=90, hjust=1))+ scale_y_continuous(breaks = seq(0,200,10))

Jordan and KW(KuwaIT) has highest number of students. Venzuela has only one student.

 ESummary = E %>%
 # Get the counts
 group_by(NationalITy, Class) %>%
 summarise(count = n()) %>%
# Get labels and position of labels
 group_by(NationalITy) %>%
 mutate(Percent = paste0(sprintf("%.1f", count/sum(count) * 100),"%"))

 ggplot(ESummary, aes(x = NationalITy, y = count)) + 
 geom_bar(aes(fill = Class), stat ="identity", position = 'fill')+ labs(x = "Topic", y = "Student Count")+ ggtitle(label = "Normalized NationalITy Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+theme(axis.text.x = element_text(angle=90, hjust=1))

Iraq, Lebanon, Saudiarabia, Palestine, USA and Venzuela have higher rate of student with high class, whereas Kuwait and Lybia have higher rate of students with low class.

ggplot(data = E, aes(x = NationalITy, fill = Relation)) + geom_bar() +
    labs(x = "PlaceofBirth", y = "Student Count")+ ggtitle(label = "Nationality Distribution")+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold")) +theme(axis.text.x = element_text(angle=90, hjust=1))

Based on the nationality,most fathers are responsible for students in some countries like: Kuwait, Iraq, Saudiarabia. Most mothers are responsible for students’ study in these areas like: Egypt, Iran, Jordan, Lebanon, LYbia, Morocco, Palestine and Venzuela.

ggplot(data = E, aes(x = NationalITy, fill = ParentAnsweringSurvey)) + geom_bar() +
    labs(x = "NationalITy", y = "Student Count") + ggtitle(label = "Nationality Distribution")+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+theme(axis.text.x = element_text(angle=90, hjust=1))

Most of the areas have higher rate of parent answering survey, except Lybia.

ggplot(data = E, aes(x = NationalITy, fill = ParentschoolSatisfaction)) + geom_bar() +
    labs(x = "NationalITy", y = "Student Count")+ ggtitle(label = "Nationality Distribution")+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+theme(axis.text.x = element_text(angle=90, hjust=1))

Most of the areas have higher rate of good parent school satisfaction, except Suadiarabia.

Stage ID distribution:

ggplot(data = E, aes(x = StageID, fill = gender)) + geom_bar() +
    labs(x = "StageID", y = "Student Count") + ggtitle(label = "Stage Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Middle school has the highest number of students. High school has very few students. Girls are less than boys in every level of school.

ggplot(data = E, aes(x = StageID, fill = Topic)) + geom_bar(colour = "black") +
    labs(x = "StageID", y = "Student Count") + ggtitle(label = "Stage Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Lowerlevel has less kinds of topics. Middle school almost covers all kinds of topics.

ggplot(data = E, aes(x = StageID, fill = Semester)) + geom_bar() +
    labs(x = "StageID", y = "Student Count")+ ggtitle(label = "Stage Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

The two semesters almost cover the same rate in different level of schools.

ggplot(data = E, aes(x = StageID, fill = Relation)) + geom_bar() +
    labs(x = "StageID", y = "Student Count") + ggtitle(label = "Stage Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

More fatheres are responsible for students’ study in different level of schools.

ggplot(data = E, aes(x = StageID, fill = ParentAnsweringSurvey)) + geom_bar() +
    labs(x = "StageID", y = "Student Count") + ggtitle(label = "Stage Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

 ESummary = E %>%
 # Get the counts
 group_by(StageID, ParentAnsweringSurvey) %>%
 summarise(count = n()) %>%
# Get labels and position of labels
 group_by(StageID) %>%
 mutate(Percent = paste0(sprintf("%.1f", count/sum(count) * 100),"%"))

 ggplot(ESummary, aes(x = StageID, y = count)) + 
 geom_bar(aes(fill = ParentAnsweringSurvey), stat ="identity", position = 'fill')+ labs(x = "Topic", y = "Student Count")+ ggtitle(label = "Normalized StageID Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+ scale_y_continuous(breaks = seq(0,1,0.2))

Both highschool and middleschool have more than 60% parent answering survey. Lowerlevel has less than 50% rate of parent answering survey.

ggplot(data = E, aes(x = StageID, fill = ParentschoolSatisfaction)) + geom_bar() +
    labs(x = "StageID", y = "Student Count") + ggtitle(label = "Stage Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

 ESummary = E %>%
 # Get the counts
 group_by(StageID, ParentschoolSatisfaction) %>%
 summarise(count = n()) %>%
# Get labels and position of labels
 group_by(StageID) %>%
 mutate(Percent = paste0(sprintf("%.1f", count/sum(count) * 100),"%"))

 ggplot(ESummary, aes(x = StageID, y = count)) + 
 geom_bar(aes(fill = ParentschoolSatisfaction), stat ="identity", position = 'fill')+ labs(x = "Topic", y = "Student Count")+ ggtitle(label = "Normalized StageID Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+ scale_y_continuous(breaks = seq(0,1,0.2))

Highschool has the lowest rate(under 60%) of good parent school satisfaction. Both middleschool and lowerlevel have more than 60% rate of good parent school satisfaction.

ggplot(data = E, aes(x = StageID, fill = StudentAbsenceDays)) + geom_bar() +
    labs(x = "StageID", y = "Student Count") + ggtitle(label = "Stage Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

 ESummary = E %>%
 # Get the counts
 group_by(StageID, StudentAbsenceDays) %>%
 summarise(count = n()) %>%
# Get labels and position of labels
 group_by(StageID) %>%
 mutate(Percent = paste0(sprintf("%.1f", count/sum(count) * 100),"%"))

 ggplot(ESummary, aes(x = StageID, y = count)) + 
 geom_bar(aes(fill = StudentAbsenceDays), stat ="identity", position = 'fill')+ labs(x = "Topic", y = "Student Count")+ ggtitle(label = "Normalized StageID Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+ scale_y_continuous(breaks = seq(0,1,0.2))

Lowerlevel has higher rate of above 7 days of student absence.

ggplot(data = E, aes(x = StageID, fill = Class)) + geom_bar() +
    labs(x = "StageID", y = "Student Count") + ggtitle(label = "Grade Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

 ESummary = E %>%
 # Get the counts
 group_by(StageID, Class) %>%
 summarise(count = n()) %>%
# Get labels and position of labels
 group_by(StageID) %>%
 mutate(Percent = paste0(sprintf("%.1f", count/sum(count) * 100),"%"))

 ggplot(ESummary, aes(x = StageID, y = count)) + 
 geom_bar(aes(fill = Class), stat ="identity", position = 'fill')+ labs(x = "Topic", y = "Student Count")+ ggtitle(label = "Normalized StageID Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+ scale_y_continuous(breaks = seq(0,1,0.2))

Lower level has the highest rate of low class students.Highschool has the highest rate of high class students. Middle school has the highest rate of medium class students.

Grade ID distribution:

ggplot(data = E, aes(x = GradeID, fill = StageID)) + geom_bar() +
    labs(x = "GradeID", y = "Student Count") +theme(axis.text.x = element_text(angle=90, hjust=1))+ ggtitle(label = "Grade Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Grade 2, 3, 4 and 5 belong to Lowerlevel, grade 6,7 and 8 belong to Middle school, grade 9,10,11 and 12 belong to High school.

Section ID distribution:

ggplot(data = E, aes(x = SectionID, fill = StageID)) + geom_bar() +
    labs(x = "SectionID", y = "Student Count") + ggtitle(label = "Section Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Section C has only Middle school and Lowerlevel students

ggplot(data = E, aes(x = SectionID, fill = Topic)) + geom_bar(colour = "black") +
    labs(x = "SectionID", y = "Student Count")+ ggtitle(label = "Section Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Section C has only IT and science students.

Topic distribution:

ggplot(data = E, aes(x = Topic, fill = gender)) + geom_bar() +
    labs(x = "Topic", y = "Student Count") + ggtitle(label = "Topic Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+theme(axis.text.x = element_text(angle=90, hjust=1)) 

Spanish has fewest girls, whereas Science, Chemistry, English and French have higher ratio of girls.

ggplot(data = E, aes(x = Topic, fill = Class)) + geom_bar() +
    labs(x = "Topic", y = "Student Count") + ggtitle(label = "Topic Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+theme(axis.text.x = element_text(angle=90, hjust=1))

Geology has no low class students

 ESummary = E %>%
 # Get the counts
 group_by(Topic, Class) %>%
 summarise(count = n()) %>%
# Get labels and position of labels
 group_by(Topic) %>%
 mutate(Percent = paste0(sprintf("%.1f", count/sum(count) * 100),"%"))

 ggplot(ESummary, aes(x = Topic, y = count)) + 
 geom_bar(aes(fill = Class), stat ="identity", position = 'fill')+ labs(x = "Topic", y = "Student Count")+ ggtitle(label = "Normalized Topic Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+theme(axis.text.x = element_text(angle=90, hjust=1))

Biology has the highest ratio of high class students. It has the highest ratio of low class students. Geology has the highest ratio of medium class students.

ggplot(data = E, aes(x = Topic, fill = NationalITy)) + geom_bar(colour = "black") +
    labs(x = "Topic", y = "Student Count") + ggtitle(label = "Topic Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+theme(axis.text.x = element_text(angle=90, hjust=1))

IT has most people from Kuwait. Chemistry has least diversity. French has most diversity.

ggplot(data = E, aes(x = Topic, fill = StageID)) + geom_bar(colour = "black") +
    labs(x = "Topic", y = "Student Count") + ggtitle(label = "Topic Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+theme(axis.text.x = element_text(angle=90, hjust=1))+ scale_y_continuous(breaks = seq(0,100,4))

Geology, biology and chemistry are only in middle school. French has the lowest rate of highschool student.

ggplot(data = E, aes(x = Topic, fill = SectionID)) + geom_bar(colour = "black") +
    labs(x = "Topic", y = "Student Count") + ggtitle(label = "Topic Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+theme(axis.text.x = element_text(angle=90, hjust=1))+ scale_y_continuous(breaks = seq(0,100,4))

Section C only has Spanish and IT students.

ggplot(data = E, aes(x = Topic, fill = Semester)) + geom_bar(colour = "black") +
    labs(x = "Topic", y = "Student Count") + ggtitle(label = "Topic Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+theme(axis.text.x = element_text(angle=90, hjust=1))+ scale_y_continuous(breaks = seq(0,100,4))

IT mostly has students who are in first semester.

ggplot(data = E, aes(x = Topic, fill = Relation)) + geom_bar(colour = "black") +
    labs(x = "Topic", y = "Student Count") + ggtitle(label = "Topic Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+theme(axis.text.x = element_text(angle=90, hjust=1))+ scale_y_continuous(breaks = seq(0,100,4))

Most French students have mom as guardian whereas most IT students have fathers as guardian.

Parent Answering Survey distribution:

ggplot(data = E, aes(x = ParentAnsweringSurvey, fill = ParentschoolSatisfaction)) + geom_bar(colour = "black") +
    labs(x = "ParentAnsweringSurvey", y = "Student Count") + ggtitle(label = "ParentAnsweringSurvey Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+ scale_y_continuous(breaks = seq(0,500,20))

Most of the parents who aren’t satisfied with the school do not answer the survey.

Class distribution:

ggplot(data = E, aes(x = Class, fill = gender)) + geom_bar(colour = "black") +
    labs(x = "Class", y = "Student Count") + ggtitle(label = "Class Distribution")+theme_grey()+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+ scale_y_continuous(breaks = seq(0,500,20))

Very few girls in low class

ggplot(data = E, aes(x = Class, fill = Relation)) + geom_bar(colour = "black") +
    labs(x = "Class", y = "Student Count") + ggtitle(label = "Class Distribution")+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+ scale_y_continuous(breaks = seq(0,500,20))

The students who have moms as guardians have higher chances to get high class marks.

ggplot(data = E, aes(x = Class, fill = ParentAnsweringSurvey)) + geom_bar(colour = "black") +
    labs(x = "Class", y = "Student Count") + ggtitle(label = "Class Distribution")+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+ scale_y_continuous(breaks = seq(0,500,20))

Students whose parents answer the survey are the ones getting good marks.

ggplot(data = E, aes(x = Class, fill = StudentAbsenceDays)) + geom_bar(colour = "black") +
    labs(x = "Class", y = "Student Count") + ggtitle(label = "Class Distribution")+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))+ scale_y_continuous(breaks = seq(0,500,20))

Student getting absent are the ones getting low marks.

Summary of Task 1.2: Based on the exploration work above, We conclude the following main findings which will be much useful for analysis and prediction of the academic performance in the next steps:

1. Girls have higher rate in high class but lower rate in low class, boys are the opposite. Girls’ parents have higher school satisfaction than boys. Boys has higher rate of above 7 absence days. Very few girls in low class.

2. The differences of class performance between place of birth and nationality are very tiny.The findings between pace of birth and nationality are very similar. It’s enough for us to just use nationality instead of both for the next steps.

3. Middle school has the most students. Lower-level has higher rate of above 7 days of student absence. Lower-level has the highest rate of low class students. Highschool has the highest rate of high class students. Middle school has the highest rate of medium class students.

4. Biology has the highest ratio of high class students. It has the highest ratio of low class students. Geology has the highest ratio of medium class students.

5. The students who have moms as guardians have higher chances to get high class marks. Students whose parents answer the survey are the ones getting good marks. Student getting absent are the ones getting low marks.

Task 1.3. Histogram of numerical values distribution:

ggplot(E, aes(x = raisedhands, fill = Class)) +
        geom_histogram(binwidth = 5, colour = "black") +
        scale_x_continuous(name = "Raised Hands",
                           breaks = seq(0, 100, 5),
                           limits=c(0, 100)) + 
        scale_y_continuous(name = "Count") +
        ggtitle("Frequency of Raised Hands") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Students have the higher class the more raised hands.

ggplot(data = E, aes(x = raisedhands, color = Class)) + geom_density(size=1) + ggtitle("Frequency of Raised Hands") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Most of the high class students raised hands many times, most of the low class students raised hands very few times.

ggplot(E, aes(x = VisITedResources, fill = Class)) +
        geom_histogram( binwidth = 5, colour = "black") +
        scale_x_continuous(name = "VisITedResources",
                           breaks = seq(0, 100, 5),
                           limits=c(0, 100)) + 
        scale_y_continuous(name = "Count") +
        ggtitle("Frequency histogram of VisITedResources")+theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Students who have the higher class visited the resources more times.

ggplot(data = E, aes(x = VisITedResources, color = Class)) + geom_density(size=1) + ggtitle("Frequency of VisITedResources") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Most of the students with high class visited the resources many times, most of the students with low class visited the resources very few times.

ggplot(E, aes(x = AnnouncementsView, fill = Class)) +
        geom_histogram( binwidth = 5, colour = "black") +
        scale_x_continuous(name = "AnnouncementsView",
                           breaks = seq(0, 100, 5),
                           limits=c(0, 100)) + 
        scale_y_continuous(name = "Count") +
        ggtitle("Frequency histogram of AnnouncementsView") 

Students who have the higher class viewed the announcements more times.

ggplot(data = E, aes(x = AnnouncementsView, color = Class)) + geom_density(size=1) + ggtitle("Frequency of AnnouncementsView") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Most of the students with high class viewed the announcements many times, most of the students with low class viewed the announcements very few times. But the differences between students with high class and medium class is not very obvious

ggplot(E, aes(x = Discussion, fill = Class)) +
        geom_histogram(binwidth = 5, colour = "black") +
        scale_x_continuous(name = "Discussion",
                           breaks = seq(0, 100, 5),
                           limits=c(0, 100)) + 
        scale_y_continuous(name = "Count") +
        ggtitle("Frequency histogram of Discussion") 

Students who have the higher class discussed more times.

ggplot(data = E, aes(x = Discussion, color = Class)) + geom_density(size=1) + ggtitle("Frequency of Discussion") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Most of the students with high class discussed many times, most of the students with low class discussed very few times.

Summary of Task 1.3: From the exploration of the numerical feature values, we have the following findings:

1 .Students who have the higher class raised hands, visited resource, viewd announcements and discussed more times.

2. Most of the students with high class raised hands, visited resource, viewed announcements and discussed many times, most of the students with low class raised hands, visited resource, viewed announcements and discussed few times.

3. There are some little differences in the density curve, especially in the announcement view and discussion.

Task 2. Exploration of the relationships between different features of the students’ academic performance datasets

Class and the numerial features

ggplot(data = E, aes(x = Class, y = raisedhands)) + geom_boxplot()+ ggtitle("Relationship of Class") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

The higher class the higher times of raising hands

ggplot(data = E, aes(x = Class, y = VisITedResources)) + geom_boxplot()+ ggtitle("Relationship of Class") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

The higher class the higher times of visiting resources

ggplot(data = E, aes(x = Class, y = AnnouncementsView)) + geom_boxplot()+ ggtitle("Relationship of Class") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

The higher class the higher times of viewing announcements

ggplot(data = E, aes(x = Class, y = Discussion)) + geom_boxplot()+ ggtitle("Relationship of Class") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

The higher class the higher times of discussion

Gender and the numerial features

ggplot(data = E, aes(x = gender, y = raisedhands)) + geom_boxplot()+ ggtitle("Relationship of Gender") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Girls have more hand raises

ggplot(data = E, aes(x = gender, y = VisITedResources)) + geom_boxplot()+ ggtitle("Relationship of Gender") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Girls visit more resources

ggplot(data = E, aes(x = gender, y = AnnouncementsView)) + geom_boxplot()+ ggtitle("Relationship of Gender") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Girls view more announcements, but the differences are not very obvious.

ggplot(data = E, aes(x = gender, y = Discussion)) + geom_boxplot()+ ggtitle("Relationship of Gender") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Girls have more discussion, but the differences are not very obvious.

Nationality and the numerial features

ggplot(data = E, aes(x = NationalITy, y = raisedhands)) + geom_boxplot()+
  theme(axis.text.x = element_text(angle=45, hjust=1))+ ggtitle("Relationship of Nationality") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Jordan has more hand raises than Kuwait, Lybia has lowest. Iraq and Palestine have highest hand raises.

ggplot(data = E, aes(x = NationalITy, y = VisITedResources)) + geom_boxplot()+
  theme(axis.text.x = element_text(angle=45, hjust=1))+ ggtitle("Relationship of Nationality") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Jordan has more visiting resouces than Kuwait, Lybia has lowest. Iraq and Palestine have highest visiting resources.

ggplot(data = E, aes(x = NationalITy, y = AnnouncementsView)) + geom_boxplot()+
  theme(axis.text.x = element_text(angle=45, hjust=1))+ ggtitle("Relationship of Nationality") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Jordan has more announcement view than Kuwait, Lybia has lowest. Iraq and Palestine have highest announcement view.

ggplot(data = E, aes(x = NationalITy, y = Discussion)) + geom_boxplot()+
  theme(axis.text.x = element_text(angle=45, hjust=1))+ ggtitle("Relationship of Nationality") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

The differences between Jordan and Kuwait are not obvious, Lybia has lowest. Iraq and Palestine have highest announcement view.

Stage ID and the numerial features

ggplot(data = E, aes(x = StageID, y = raisedhands)) + geom_boxplot()+ ggtitle("Relationship of Stage ID") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

More hand raises in middle schools.

ggplot(data = E, aes(x = StageID, y = VisITedResources)) + geom_boxplot()+ ggtitle("Relationship of Stage ID") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

#More hand raises in middle schools.

More visiting resouces in middle schools.

ggplot(data = E, aes(x = StageID, y = AnnouncementsView)) + geom_boxplot()+ ggtitle("Relationship of Stage ID") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

More announcement views in middle schools.

ggplot(data = E, aes(x = StageID, y = Discussion)) + geom_boxplot()+ ggtitle("Relationship of Stage ID") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

More discussions in high schools.

Topic and the numerial features

ggplot(data = E, aes(x = Topic, y = raisedhands)) + geom_boxplot()+ geom_boxplot()+ ggtitle("Relationship of Topic") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

IT has very few hand raises intersetingly although most students study there.

ggplot(data = E, aes(x = Topic, y = VisITedResources)) + geom_boxplot()+ ggtitle("Relationship of Topic") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

ggplot(data = E, aes(x = Topic, y = AnnouncementsView)) + geom_boxplot()+ ggtitle("Relationship of Topic") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

IT has very few announcement view although most students study there.

ggplot(data = E, aes(x = Topic, y = Discussion)) + geom_boxplot()+ ggtitle("Relationship of Topic") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

IT has very few discussion although most students study there.

Section ID and the numerial features

ggplot(data = E, aes(x = SectionID, y = raisedhands)) + geom_boxplot()+ ggtitle("Relationship of Section ID") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

ggplot(data = E, aes(x = SectionID, y = VisITedResources)) + geom_boxplot()+ ggtitle("Relationship of Section ID") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

ggplot(data = E, aes(x = SectionID, y = AnnouncementsView)) + geom_boxplot()+ ggtitle("Relationship of Section ID") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

ggplot(data = E, aes(x = SectionID, y = Discussion)) + geom_boxplot()+ ggtitle("Relationship of Section ID") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Section A has the highest raised hands, visited resources, announcements view and discussion, whereas secion C has the lowest raised hands, visited resources, announcements view and discussion.

Semester and the numerial features

ggplot(data = E, aes(x = Semester, y = raisedhands)) + geom_boxplot()+ ggtitle("Relationship of Semester") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Second semester has more hand raises

ggplot(data = E, aes(x = Semester, y = VisITedResources)) + geom_boxplot()+ ggtitle("Relationship of Semester") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Second semester has more visited resources

ggplot(data = E, aes(x = Semester, y = AnnouncementsView)) + geom_boxplot()+ ggtitle("Relationship of Semester") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Second semester has more announcements view

ggplot(data = E, aes(x = Semester, y = Discussion)) + geom_boxplot()+ ggtitle("Relationship of Semester") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Almost no differences between these two semesters in discussion.

Relation and the numerial features

ggplot(data = E, aes(x = Relation, y = raisedhands)) + geom_boxplot()+ ggtitle("Relationship of Relation") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Students with Guardians mother have more hand raises.

ggplot(data = E, aes(x = Relation, y = VisITedResources)) + geom_boxplot()+ ggtitle("Relationship of Relation") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Students with Guardians mother have more visited resources.

ggplot(data = E, aes(x = Relation, y = AnnouncementsView)) + geom_boxplot()+ ggtitle("Relationship of Relation") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Students with Guardians mother have more announcements view.

ggplot(data = E, aes(x = Relation, y = Discussion)) + geom_boxplot()+ ggtitle("Relationship of Relation") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

No obvious differences between students with differen guardians in discussion.

Parent Answering Survey and the numerial features

ggplot(data = E, aes(x = ParentAnsweringSurvey, y = raisedhands)) + geom_boxplot()+ ggtitle("Relationship of Parent Answering Survey") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Students whose parent answering survey have more hand raises

ggplot(data = E, aes(x = ParentAnsweringSurvey, y = VisITedResources)) + geom_boxplot()+ ggtitle("Relationship of Parent Answering Survey") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Students whose parent answering survey have more visited resources.

ggplot(data = E, aes(x = ParentAnsweringSurvey, y = AnnouncementsView)) + geom_boxplot()+ ggtitle("Relationship of Parent Answering Survey") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Students whose parent answering survey have more announcements view.

ggplot(data = E, aes(x = ParentAnsweringSurvey, y = Discussion)) + geom_boxplot()+ ggtitle("Relationship of Parent Answering Survey") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Students whose parent answering survey have more discussion

Parent school Satisfaction and the numerial features

ggplot(data = E, aes(x = ParentschoolSatisfaction, y = raisedhands)) + geom_boxplot()+ ggtitle("Relationship of Parent Satisfacion") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Students whose parents with good satisfaction have more hand raises.

ggplot(data = E, aes(x = ParentschoolSatisfaction, y = VisITedResources)) + geom_boxplot()+ ggtitle("Relationship of Parent Satisfacion") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Students whose parents with good satisfaction have more visited resources.

ggplot(data = E, aes(x = ParentschoolSatisfaction, y = AnnouncementsView)) + geom_boxplot()+ ggtitle("Relationship of Parent Satisfacion") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Students whose parents with good satisfaction have more announcement view.

ggplot(data = E, aes(x = ParentschoolSatisfaction, y = Discussion)) + geom_boxplot()+ ggtitle("Relationship of Parent Satisfacion") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

No obvious differences in discution between students whose parents with different satisfaction .

Student Absence Days and the numerial features

ggplot(data = E, aes(x = StudentAbsenceDays, y = raisedhands)) + geom_boxplot() + ggtitle("Relationship of Student Absence Days") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Students have the more leaves the less hand raises.

ggplot(data = E, aes(x = StudentAbsenceDays, y = VisITedResources)) + geom_boxplot()+ ggtitle("Relationship of Student Absence Days") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Students have the more leaves the less visited resources.

ggplot(data = E, aes(x = StudentAbsenceDays, y = AnnouncementsView)) + geom_boxplot()+ ggtitle("Relationship of Student Absence Days") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Students have the more leaves the less announcements view.

ggplot(data = E, aes(x = StudentAbsenceDays, y = Discussion)) + geom_boxplot()+ ggtitle("Relationship of Student Absence Days") +theme(plot.title = element_text(hjust = 0.5, lineheight = 0.8, face = "bold"))

Students have the more leaves the less discussion.

Summary of Task 2: From the exploration relationship between features, we have the following findings:

1. From the relationship between class and other features, it further confirmed our findings in the previous step: Students who have the higher class raised hands, visited resource, viewed announcements and discussed more times.

2. Girls have more hand raises and visit more resources.

3. The results on raised hands, visited resources and announcements view are very similar. The difference of discussions between Jordan and Kuwait is not obvious.

4. More raised hands, visited resources and announcements view in middle schools. More discussions in high schools.

5. IT has very few hand raises interestingly although most students study there.

6. Students with Guardians mother have more hand raises, visited resources and announcements view.

7. Students whose parent answering survey have more hand raises, visited resources, announcements view and discussion.

8. Students whose parents with good satisfaction have more raised hands, visited resources and announcements.

9. Students have the more leaves the less raised hands, visited resources, announcements and discussion.

Task 3. Prediction of the students’ academic performance. Build prediction model and evaluate the results of the model

Preprocess: Select the important features which are important to Class, and remove some unimportant features.

#create data with some correlation structure
library(corrplot)
## Warning: package 'corrplot' was built under R version 3.4.2
Edu1 <- E
for(i in 1:ncol(Edu1)){
  Edu1[,i]<-as.integer(Edu1[,i])
}
corrplot::corrplot(cor(as.matrix(Edu1)),type = "upper", method="circle", tl.pos="lt", 
tl.col="black", tl.cex=0.6, tl.srt=45, 
         addCoef.col="black", addCoefasPercent = TRUE,
          sig.level=0.50, insig = "blank")  

From the correlation plot above, we can find that features like raisedhands, visitedresources,announcementsview,studentabsencedays and discussion have very close correlation with class. On the other hand, some features like sectionID, gradeID, stageID,placeofbirth and nationality have very less correlation with class. So we decide to remove useless features before building our prediction models.

# Remove some useless features , such as: GradeID, SectionID and Semester.
E1 <- E[,-c(5,6,8)]
E1
##     gender NationalITy PlaceofBirth      StageID     Topic Relation
## 1        M          KW       KuwaIT   Lowerlevel        IT   Father
## 2        M          KW       KuwaIT   Lowerlevel        IT   Father
## 3        M          KW       KuwaIT   Lowerlevel        IT   Father
## 4        M          KW       KuwaIT   Lowerlevel        IT   Father
## 5        M          KW       KuwaIT   Lowerlevel        IT   Father
## 6        F          KW       KuwaIT   Lowerlevel        IT   Father
## 7        M          KW       KuwaIT MiddleSchool      Math   Father
## 8        M          KW       KuwaIT MiddleSchool      Math   Father
## 9        F          KW       KuwaIT MiddleSchool      Math   Father
## 10       F          KW       KuwaIT MiddleSchool        IT   Father
## 11       M          KW       KuwaIT MiddleSchool      Math   Father
## 12       M          KW       KuwaIT MiddleSchool      Math   Father
## 13       M          KW       KuwaIT   Lowerlevel        IT   Father
## 14       M     lebanon      lebanon MiddleSchool      Math   Father
## 15       F          KW       KuwaIT MiddleSchool      Math      Mum
## 16       F          KW       KuwaIT MiddleSchool        IT   Father
## 17       M          KW       KuwaIT MiddleSchool        IT   Father
## 18       M          KW       KuwaIT MiddleSchool      Math   Father
## 19       F          KW       KuwaIT MiddleSchool        IT      Mum
## 20       M          KW       KuwaIT MiddleSchool        IT      Mum
## 21       F          KW       KuwaIT MiddleSchool        IT   Father
## 22       F          KW       KuwaIT MiddleSchool        IT   Father
## 23       M          KW       KuwaIT MiddleSchool        IT   Father
## 24       M          KW       KuwaIT MiddleSchool        IT   Father
## 25       M          KW       KuwaIT MiddleSchool        IT   Father
## 26       M          KW       KuwaIT MiddleSchool        IT   Father
## 27       M          KW       KuwaIT MiddleSchool        IT   Father
## 28       M          KW       KuwaIT MiddleSchool    Arabic   Father
## 29       M          KW       KuwaIT MiddleSchool   Science   Father
## 30       F          KW       KuwaIT MiddleSchool    Arabic   Father
## 31       F          KW       KuwaIT MiddleSchool    Arabic   Father
## 32       M          KW       KuwaIT MiddleSchool        IT   Father
## 33       F          KW       KuwaIT   Lowerlevel        IT   Father
## 34       M          KW       KuwaIT   Lowerlevel   English   Father
## 35       M          KW       KuwaIT MiddleSchool   Science   Father
## 36       M          KW       KuwaIT MiddleSchool   English   Father
## 37       M          KW       KuwaIT MiddleSchool   Science      Mum
## 38       F       Egypt        Egypt MiddleSchool        IT   Father
## 39       M          KW       KuwaIT MiddleSchool        IT   Father
## 40       F SaudiArabia  SaudiArabia MiddleSchool   Science   Father
## 41       F          KW       KuwaIT MiddleSchool        IT   Father
## 42       M          KW       KuwaIT MiddleSchool        IT   Father
## 43       M          KW       KuwaIT   HighSchool        IT   Father
## 44       F          KW       KuwaIT   HighSchool        IT   Father
## 45       F          KW       KuwaIT   HighSchool        IT   Father
## 46       M          KW       KuwaIT MiddleSchool     Quran   Father
## 47       M          KW       KuwaIT   Lowerlevel   English   Father
## 48       F          KW       KuwaIT   HighSchool   English      Mum
## 49       F          KW       KuwaIT   HighSchool   English      Mum
## 50       F          KW       KuwaIT   HighSchool   English   Father
## 51       F          KW       KuwaIT   HighSchool   English   Father
## 52       M          KW       KuwaIT   HighSchool   English   Father
## 53       F          KW       KuwaIT   HighSchool   English   Father
## 54       F          KW       KuwaIT   HighSchool   Science      Mum
## 55       M          KW       KuwaIT   HighSchool   English      Mum
## 56       M          KW       KuwaIT MiddleSchool      Math   Father
## 57       M         USA          USA MiddleSchool      Math   Father
## 58       M          KW       KuwaIT MiddleSchool      Math   Father
## 59       M          KW       KuwaIT MiddleSchool      Math   Father
## 60       F         USA          USA MiddleSchool      Math   Father
## 61       F      Jordan       Jordan   Lowerlevel   English      Mum
## 62       M          KW       KuwaIT   HighSchool        IT   Father
## 63       M    venzuela     venzuela   HighSchool        IT      Mum
## 64       M          KW       KuwaIT   HighSchool        IT   Father
## 65       M          KW       KuwaIT   HighSchool        IT   Father
## 66       M          KW       KuwaIT   HighSchool   English   Father
## 67       F          KW       KuwaIT   HighSchool   English   Father
## 68       F         USA          USA   HighSchool   English      Mum
## 69       F         USA          USA   HighSchool        IT      Mum
## 70       M      Jordan       Jordan MiddleSchool        IT   Father
## 71       M      Jordan       Jordan MiddleSchool        IT   Father
## 72       M          KW       KuwaIT MiddleSchool        IT   Father
## 73       M          KW       KuwaIT MiddleSchool      Math   Father
## 74       F          KW       KuwaIT MiddleSchool   English   Father
## 75       M          KW       KuwaIT MiddleSchool        IT   Father
## 76       M      Jordan       Jordan MiddleSchool     Quran      Mum
## 77       M        Iran         Iran   HighSchool        IT      Mum
## 78       M          KW       KuwaIT   HighSchool        IT   Father
## 79       M          KW       KuwaIT   HighSchool     Quran   Father
## 80       F     lebanon      lebanon MiddleSchool      Math      Mum
## 81       M          KW       KuwaIT MiddleSchool      Math   Father
## 82       M          KW       KuwaIT   Lowerlevel        IT   Father
## 83       M          KW       KuwaIT   Lowerlevel        IT   Father
## 84       M          KW       KuwaIT   Lowerlevel        IT   Father
## 85       M          KW       KuwaIT   Lowerlevel        IT   Father
## 86       M          KW       KuwaIT   Lowerlevel        IT   Father
## 87       M SaudiArabia  SaudiArabia   Lowerlevel        IT   Father
## 88       M          KW       KuwaIT   Lowerlevel        IT   Father
## 89       F          KW       KuwaIT   Lowerlevel        IT   Father
## 90       M          KW       KuwaIT   Lowerlevel        IT   Father
## 91       M          KW       KuwaIT   Lowerlevel        IT   Father
## 92       M          KW       KuwaIT   Lowerlevel        IT   Father
## 93       F          KW       KuwaIT   Lowerlevel        IT   Father
## 94       M         USA          USA   Lowerlevel        IT   Father
## 95       F          KW       KuwaIT   Lowerlevel        IT   Father
## 96       F          KW       KuwaIT   Lowerlevel        IT   Father
## 97       F          KW       KuwaIT   Lowerlevel        IT   Father
## 98       F          KW       KuwaIT   Lowerlevel        IT   Father
## 99       F          KW       KuwaIT   Lowerlevel        IT   Father
## 100      M          KW       KuwaIT   Lowerlevel        IT   Father
## 101      M          KW       KuwaIT   Lowerlevel        IT   Father
## 102      F          KW       KuwaIT   Lowerlevel        IT      Mum
## 103      F          KW       KuwaIT   Lowerlevel        IT   Father
## 104      M          KW       KuwaIT   Lowerlevel        IT   Father
## 105      M          KW       KuwaIT   Lowerlevel        IT   Father
## 106      F          KW       KuwaIT   Lowerlevel        IT   Father
## 107      F          KW       KuwaIT   Lowerlevel        IT   Father
## 108      M          KW       KuwaIT   Lowerlevel        IT   Father
## 109      M SaudiArabia  SaudiArabia   Lowerlevel        IT   Father
## 110      M          KW       KuwaIT   Lowerlevel        IT   Father
## 111      F      Jordan       Jordan   Lowerlevel        IT      Mum
## 112      M          KW       KuwaIT   Lowerlevel        IT   Father
## 113      M          KW       KuwaIT   Lowerlevel        IT   Father
## 114      M          KW       KuwaIT   Lowerlevel        IT   Father
## 115      M          KW       KuwaIT   Lowerlevel        IT   Father
## 116      M          KW       KuwaIT   Lowerlevel        IT   Father
## 117      F          KW       KuwaIT   Lowerlevel        IT      Mum
## 118      F          KW       KuwaIT   Lowerlevel        IT      Mum
## 119      F          KW       KuwaIT   Lowerlevel        IT      Mum
## 120      M          KW       KuwaIT   Lowerlevel        IT   Father
## 121      M          KW       KuwaIT   Lowerlevel        IT      Mum
## 122      M          KW       KuwaIT   Lowerlevel        IT      Mum
## 123      F          KW       KuwaIT   Lowerlevel        IT   Father
## 124      F     lebanon      lebanon   Lowerlevel        IT   Father
## 125      M          KW       KuwaIT   Lowerlevel        IT   Father
## 126      M          KW       KuwaIT   Lowerlevel        IT   Father
## 127      F        Iran         Iran   Lowerlevel        IT   Father
## 128      M          KW       KuwaIT   Lowerlevel        IT   Father
## 129      M          KW       KuwaIT   Lowerlevel        IT   Father
## 130      M          KW       KuwaIT   Lowerlevel        IT   Father
## 131      F          KW       KuwaIT   Lowerlevel        IT   Father
## 132      M      Jordan       Jordan   Lowerlevel        IT   Father
## 133      M          KW       KuwaIT   Lowerlevel        IT   Father
## 134      M          KW       KuwaIT   Lowerlevel        IT   Father
## 135      M          KW       KuwaIT MiddleSchool     Quran   Father
## 136      F       Egypt        Egypt MiddleSchool     Quran      Mum
## 137      F          KW          USA   HighSchool     Quran      Mum
## 138      F          KW          USA   HighSchool     Quran      Mum
## 139      F      Jordan        Egypt MiddleSchool     Quran      Mum
## 140      M      Jordan          USA MiddleSchool     Quran      Mum
## 141      M       Tunis        Tunis MiddleSchool     Quran   Father
## 142      M       Tunis        Tunis MiddleSchool     Quran   Father
## 143      M       Tunis        Tunis MiddleSchool     Quran   Father
## 144      M          KW       KuwaIT MiddleSchool     Quran   Father
## 145      M          KW       KuwaIT MiddleSchool     Quran   Father
## 146      M       Tunis  SaudiArabia MiddleSchool     Quran   Father
## 147      F     lebanon      lebanon MiddleSchool     Quran      Mum
## 148      F     lebanon      lebanon MiddleSchool     Quran   Father
## 149      F      Jordan       Jordan MiddleSchool     Quran   Father
## 150      F      Jordan      lebanon MiddleSchool     Quran      Mum
## 151      M SaudiArabia  SaudiArabia   HighSchool     Quran   Father
## 152      M SaudiArabia          USA   HighSchool   Science   Father
## 153      F SaudiArabia          USA   HighSchool   Science   Father
## 154      M SaudiArabia          USA   HighSchool   Spanish   Father
## 155      M SaudiArabia          USA   HighSchool   English   Father
## 156      M SaudiArabia          USA   HighSchool      Math   Father
## 157      F       Tunis          USA   HighSchool    French   Father
## 158      M       Tunis        Tunis   HighSchool   Science   Father
## 159      M       Tunis       KuwaIT MiddleSchool   Science   Father
## 160      F          KW       KuwaIT MiddleSchool   Science   Father
## 161      F      Jordan       Jordan MiddleSchool   Science      Mum
## 162      M      Jordan       Jordan MiddleSchool   Science      Mum
## 163      F      Jordan       Jordan   Lowerlevel    French      Mum
## 164      F      Jordan          USA   Lowerlevel    French      Mum
## 165      M      Jordan       Jordan   Lowerlevel    French      Mum
## 166      F     Morocco      Morocco   Lowerlevel    French      Mum
## 167      M          KW       KuwaIT   Lowerlevel    French      Mum
## 168      M       Tunis        Tunis   Lowerlevel    French      Mum
## 169      M          KW       KuwaIT   Lowerlevel    French      Mum
## 170      M          KW       KuwaIT   Lowerlevel    French      Mum
## 171      M          KW       KuwaIT   Lowerlevel    French   Father
## 172      M          KW       KuwaIT   Lowerlevel    French      Mum
## 173      M        Iran         Iran   Lowerlevel    French      Mum
## 174      M       Syria        Syria   Lowerlevel    French      Mum
## 175      F      Jordan       Jordan   Lowerlevel    French   Father
## 176      M        Iran         Iran   Lowerlevel    French   Father
## 177      M       Tunis        Tunis   Lowerlevel    French      Mum
## 178      F         USA          USA   Lowerlevel    French      Mum
## 179      F     lebanon      lebanon   Lowerlevel    French      Mum
## 180      M     lebanon      lebanon   Lowerlevel    French      Mum
## 181      F SaudiArabia  SaudiArabia   Lowerlevel    French   Father
## 182      M      Jordan       Jordan   Lowerlevel    French   Father
## 183      M          KW       KuwaIT MiddleSchool    Arabic      Mum
## 184      F     lebanon      lebanon MiddleSchool    Arabic   Father
## 185      M     lebanon      lebanon MiddleSchool    Arabic      Mum
## 186      M     lebanon       Jordan MiddleSchool    Arabic      Mum
## 187      M          KW       KuwaIT MiddleSchool    Arabic      Mum
## 188      F          KW       KuwaIT MiddleSchool    Arabic   Father
## 189      M          KW       KuwaIT MiddleSchool    Arabic      Mum
## 190      F          KW       KuwaIT MiddleSchool    Arabic   Father
## 191      M          KW       KuwaIT MiddleSchool    Arabic   Father
## 192      M          KW       KuwaIT MiddleSchool    Arabic   Father
## 193      M          KW       KuwaIT MiddleSchool    Arabic      Mum
## 194      M     Morocco      Morocco MiddleSchool    Arabic      Mum
## 195      M     Morocco      Morocco MiddleSchool    Arabic      Mum
## 196      M          KW       KuwaIT MiddleSchool    Arabic   Father
## 197      M          KW       KuwaIT MiddleSchool    Arabic      Mum
## 198      M          KW       KuwaIT MiddleSchool    Arabic      Mum
## 199      M     Morocco      Morocco MiddleSchool    Arabic   Father
## 200      M          KW       KuwaIT MiddleSchool    Arabic   Father
## 201      M          KW       KuwaIT MiddleSchool    Arabic      Mum
## 202      F     lebanon      lebanon MiddleSchool    Arabic      Mum
## 203      M          KW       KuwaIT MiddleSchool    Arabic   Father
## 204      F          KW       KuwaIT MiddleSchool    Arabic   Father
## 205      M      Jordan       Jordan MiddleSchool    Arabic   Father
## 206      F SaudiArabia  SaudiArabia MiddleSchool    Arabic      Mum
## 207      M          KW       KuwaIT MiddleSchool    Arabic   Father
## 208      M          KW       KuwaIT MiddleSchool   Spanish   Father
## 209      M       Tunis        Tunis MiddleSchool   Spanish      Mum
## 210      M          KW       KuwaIT MiddleSchool   Spanish   Father
## 211      M      Jordan  SaudiArabia MiddleSchool   Spanish      Mum
## 212      M          KW       KuwaIT MiddleSchool   Spanish   Father
## 213      M       Tunis        Tunis MiddleSchool   Spanish      Mum
## 214      M       Tunis        Tunis MiddleSchool   Spanish   Father
## 215      M          KW       KuwaIT MiddleSchool   Spanish   Father
## 216      M          KW       KuwaIT MiddleSchool   Spanish   Father
## 217      M        Iran         Iran MiddleSchool   Spanish      Mum
## 218      F      Jordan       KuwaIT MiddleSchool   Spanish   Father
## 219      M          KW       KuwaIT MiddleSchool   Spanish      Mum
## 220      M          KW       KuwaIT MiddleSchool   Spanish      Mum
## 221      M     lebanon      lebanon MiddleSchool   Spanish   Father
## 222      M     lebanon      lebanon MiddleSchool   Spanish   Father
## 223      M          KW       KuwaIT MiddleSchool   Spanish   Father
## 224      M          KW       KuwaIT MiddleSchool   Spanish      Mum
## 225      M          KW       KuwaIT MiddleSchool   Spanish      Mum
## 226      M          KW       KuwaIT MiddleSchool   Spanish      Mum
## 227      M          KW       KuwaIT MiddleSchool   Spanish   Father
## 228      M          KW       KuwaIT MiddleSchool   Spanish   Father
## 229      M          KW       KuwaIT   HighSchool      Math      Mum
## 230      M          KW       KuwaIT MiddleSchool   Spanish   Father
## 231      M        Iran         Iran MiddleSchool   Spanish      Mum
## 232      M       Syria       Jordan MiddleSchool   Spanish   Father
## 233      M       Syria        Syria MiddleSchool     Quran   Father
## 234      F      Jordan       Jordan MiddleSchool   Science      Mum
## 235      M          KW       KuwaIT MiddleSchool   Science      Mum
## 236      M          KW       KuwaIT MiddleSchool   Science   Father
## 237      M      Jordan       Jordan MiddleSchool   Science   Father
## 238      M          KW       KuwaIT MiddleSchool   Science   Father
## 239      F          KW       KuwaIT MiddleSchool   Science      Mum
## 240      M       Egypt        Egypt MiddleSchool   Science      Mum
## 241      M          KW       KuwaIT MiddleSchool   Science      Mum
## 242      M       Egypt        Egypt MiddleSchool   Science   Father
## 243      M          KW       KuwaIT MiddleSchool   Science   Father
## 244      M       Egypt       KuwaIT MiddleSchool   Science   Father
## 245      M          KW       KuwaIT MiddleSchool        IT      Mum
## 246      F          KW       KuwaIT MiddleSchool        IT   Father
## 247      F          KW       KuwaIT MiddleSchool   Science   Father
## 248      F          KW       KuwaIT MiddleSchool      Math   Father
## 249      F          KW       KuwaIT MiddleSchool     Quran   Father
## 250      M          KW       KuwaIT   Lowerlevel        IT   Father
## 251      M          KW       KuwaIT   Lowerlevel      Math   Father
## 252      M       Egypt        Egypt   Lowerlevel   English      Mum
## 253      F          KW       KuwaIT   Lowerlevel   Science   Father
## 254      M          KW       KuwaIT   Lowerlevel    Arabic   Father
## 255      M          KW       KuwaIT   Lowerlevel   English   Father
## 256      M          KW       KuwaIT   Lowerlevel   History   Father
## 257      F          KW       KuwaIT   Lowerlevel   History      Mum
## 258      F          KW       KuwaIT   Lowerlevel   History   Father
## 259      F          KW       KuwaIT   Lowerlevel   History   Father
## 260      M          KW       KuwaIT   Lowerlevel   English      Mum
## 261      M          KW       KuwaIT   Lowerlevel   History   Father
## 262      M          KW       KuwaIT   Lowerlevel   History   Father
## 263      F          KW       KuwaIT   Lowerlevel   History      Mum
## 264      M       Egypt        Egypt   Lowerlevel      Math      Mum
## 265      F      Jordan       Jordan MiddleSchool   English      Mum
## 266      F      Jordan       Jordan MiddleSchool   English      Mum
## 267      M      Jordan       Jordan MiddleSchool   English   Father
## 268      M      Jordan       Jordan MiddleSchool   English   Father
## 269      M      Jordan       Jordan MiddleSchool   English   Father
## 270      M      Jordan       Jordan MiddleSchool   English   Father
## 271      F      Jordan       Jordan MiddleSchool   English      Mum
## 272      F      Jordan       Jordan MiddleSchool   English      Mum
## 273      M      Jordan       Jordan MiddleSchool   English   Father
## 274      M      Jordan       Jordan MiddleSchool   English   Father
## 275      F     lebanon      lebanon MiddleSchool   English      Mum
## 276      F     lebanon      lebanon MiddleSchool   English      Mum
## 277      M   Palestine       Jordan MiddleSchool   English      Mum
## 278      M   Palestine       Jordan MiddleSchool   English      Mum
## 279      M   Palestine       Jordan MiddleSchool   English      Mum
## 280      M   Palestine       Jordan MiddleSchool   English      Mum
## 281      M        Iraq         Iraq MiddleSchool   English      Mum
## 282      M        Iraq         Iraq MiddleSchool   English      Mum
## 283      F      Jordan       Jordan MiddleSchool   English      Mum
## 284      F      Jordan       Jordan MiddleSchool   English      Mum
## 285      M      Jordan       Jordan MiddleSchool   English   Father
## 286      M      Jordan       Jordan MiddleSchool   English   Father
## 287      F      Jordan       Jordan MiddleSchool   English      Mum
## 288      F      Jordan       Jordan MiddleSchool   English      Mum
## 289      M   Palestine       Jordan MiddleSchool   English      Mum
## 290      M   Palestine       Jordan MiddleSchool   English      Mum
## 291      F      Jordan       Jordan   Lowerlevel   Science   Father
## 292      F      Jordan       Jordan   Lowerlevel   Science   Father
## 293      F   Palestine    Palestine   Lowerlevel   Science      Mum
## 294      F   Palestine    Palestine   Lowerlevel   Science      Mum
## 295      M        Iraq         Iraq   Lowerlevel   Science   Father
## 296      M        Iraq         Iraq   Lowerlevel   Science   Father
## 297      F      Jordan       Jordan   Lowerlevel   Science      Mum
## 298      F      Jordan       Jordan   Lowerlevel   Science      Mum
## 299      M      Jordan       Jordan   Lowerlevel   Science   Father
## 300      M      Jordan       Jordan   Lowerlevel   Science   Father
## 301      M      Jordan       Jordan   Lowerlevel   Science   Father
## 302      M      Jordan       Jordan   Lowerlevel   Science   Father
## 303      F      Jordan       Jordan   Lowerlevel   Science      Mum
## 304      F      Jordan       Jordan   Lowerlevel   Science      Mum
## 305      F      Jordan       Jordan   Lowerlevel   Science   Father
## 306      F      Jordan       Jordan   Lowerlevel   Science   Father
## 307      M      Jordan       Jordan   Lowerlevel   Science      Mum
## 308      M      Jordan       Jordan   Lowerlevel   Science      Mum
## 309      M   Palestine       Jordan   Lowerlevel   Science      Mum
## 310      M   Palestine       Jordan   Lowerlevel   Science      Mum
## 311      M      Jordan       Jordan   Lowerlevel   Science   Father
## 312      M      Jordan       Jordan   Lowerlevel   Science   Father
## 313      F      Jordan       Jordan   Lowerlevel   Science      Mum
## 314      F      Jordan       Jordan   Lowerlevel   Science      Mum
## 315      F      Jordan      lebanon   Lowerlevel   Science      Mum
## 316      F      Jordan      lebanon   Lowerlevel   Science      Mum
## 317      M      Jordan       Jordan   Lowerlevel    French      Mum
## 318      M      Jordan       Jordan   Lowerlevel    French      Mum
## 319      F      Jordan       Jordan   Lowerlevel    French      Mum
## 320      F      Jordan       Jordan   Lowerlevel    French      Mum
## 321      F      Jordan       Jordan   Lowerlevel    French      Mum
## 322      F      Jordan       Jordan   Lowerlevel    French      Mum
## 323      M      Jordan       Jordan   Lowerlevel    French   Father
## 324      M      Jordan       Jordan   Lowerlevel    French   Father
## 325      M       Syria        Syria   Lowerlevel    French   Father
## 326      M       Syria        Syria   Lowerlevel    French   Father
## 327      M      Jordan       Jordan   Lowerlevel    French   Father
## 328      M      Jordan       Jordan   Lowerlevel    French   Father
## 329      F      Jordan    Palestine   Lowerlevel    French      Mum
## 330      F      Jordan    Palestine   Lowerlevel    French      Mum
## 331      M      Jordan       Jordan   Lowerlevel    French   Father
## 332      M      Jordan       Jordan   Lowerlevel    French   Father
## 333      F      Jordan       Jordan   Lowerlevel    French      Mum
## 334      F      Jordan       Jordan   Lowerlevel    French      Mum
## 335      M       Lybia        Lybia   Lowerlevel    French      Mum
## 336      M       Lybia        Lybia   Lowerlevel    French      Mum
## 337      F   Palestine       Jordan   Lowerlevel    French      Mum
## 338      F   Palestine       Jordan   Lowerlevel    French      Mum
## 339      F   Palestine       Jordan   Lowerlevel    French   Father
## 340      F   Palestine       Jordan   Lowerlevel    French   Father
## 341      F        Iraq         Iraq   Lowerlevel    French   Father
## 342      F        Iraq         Iraq   Lowerlevel    French   Father
## 343      M      Jordan       Jordan   Lowerlevel    French      Mum
## 344      M      Jordan       Jordan   Lowerlevel    French      Mum
## 345      F      Jordan       Jordan   Lowerlevel    French      Mum
## 346      F      Jordan       Jordan   Lowerlevel    French      Mum
## 347      F      Jordan       Jordan   Lowerlevel    French      Mum
## 348      F      Jordan       Jordan   Lowerlevel    French      Mum
## 349      M       Lybia        Lybia   Lowerlevel    French      Mum
## 350      M       Lybia        Lybia   Lowerlevel    French      Mum
## 351      M       Egypt        Egypt   Lowerlevel    French      Mum
## 352      M       Egypt        Egypt   Lowerlevel    French      Mum
## 353      F      Jordan       Jordan   Lowerlevel    French      Mum
## 354      F      Jordan       Jordan   Lowerlevel    French      Mum
## 355      M      Jordan       Jordan   Lowerlevel    French      Mum
## 356      M      Jordan       Jordan   Lowerlevel    French      Mum
## 357      M      Jordan       Jordan   Lowerlevel    French   Father
## 358      M      Jordan       Jordan   Lowerlevel    French   Father
## 359      F     lebanon      lebanon   Lowerlevel    French      Mum
## 360      F     lebanon      lebanon   Lowerlevel    French      Mum
## 361      M      Jordan       Jordan   Lowerlevel    Arabic   Father
## 362      M      Jordan       Jordan   Lowerlevel    Arabic   Father
## 363      M   Palestine       Jordan   Lowerlevel    Arabic   Father
## 364      M   Palestine       Jordan   Lowerlevel    Arabic   Father
## 365      M        Iraq         Iraq   Lowerlevel    Arabic   Father
## 366      M        Iraq         Iraq   Lowerlevel    Arabic   Father
## 367      M      Jordan       Jordan   Lowerlevel    Arabic   Father
## 368      M      Jordan       Jordan   Lowerlevel    Arabic   Father
## 369      F   Palestine       Jordan   Lowerlevel    Arabic      Mum
## 370      F   Palestine       Jordan   Lowerlevel    Arabic      Mum
## 371      M      Jordan       Jordan   Lowerlevel    Arabic   Father
## 372      M      Jordan       Jordan   Lowerlevel    Arabic   Father
## 373      F      Jordan       Jordan   Lowerlevel    Arabic   Father
## 374      F      Jordan       Jordan   Lowerlevel    Arabic   Father
## 375      M      Jordan       Jordan   Lowerlevel    Arabic   Father
## 376      M      Jordan       Jordan   Lowerlevel    Arabic   Father
## 377      M      Jordan       Jordan   Lowerlevel    Arabic      Mum
## 378      M      Jordan       Jordan   Lowerlevel    Arabic      Mum
## 379      M      Jordan       Jordan   Lowerlevel    Arabic   Father
## 380      M      Jordan       Jordan   Lowerlevel    Arabic   Father
## 381      F      Jordan       Jordan   Lowerlevel    Arabic   Father
## 382      F      Jordan       Jordan   Lowerlevel    Arabic   Father
## 383      M        Iraq         Iraq   Lowerlevel    Arabic      Mum
## 384      M        Iraq         Iraq   Lowerlevel    Arabic      Mum
## 385      F        Iraq         Iraq   Lowerlevel    Arabic      Mum
## 386      F        Iraq         Iraq   Lowerlevel    Arabic      Mum
## 387      M      Jordan       Jordan   Lowerlevel    Arabic      Mum
## 388      M      Jordan       Jordan   Lowerlevel    Arabic      Mum
## 389      M      Jordan  SaudiArabia   Lowerlevel    Arabic      Mum
## 390      M      Jordan  SaudiArabia   Lowerlevel    Arabic      Mum
## 391      F      Jordan       Jordan MiddleSchool   Biology      Mum
## 392      F      Jordan       Jordan MiddleSchool   Biology      Mum
## 393      F        Iraq         Iraq MiddleSchool   Biology      Mum
## 394      F        Iraq         Iraq MiddleSchool   Biology      Mum
## 395      M      Jordan    Palestine MiddleSchool   Biology      Mum
## 396      M      Jordan    Palestine MiddleSchool   Biology      Mum
## 397      M      Jordan       Jordan MiddleSchool   Biology   Father
## 398      M      Jordan       Jordan MiddleSchool   Biology   Father
## 399      M   Palestine    Palestine MiddleSchool   Biology   Father
## 400      M   Palestine    Palestine MiddleSchool   Biology   Father
## 401      M      Jordan       Jordan MiddleSchool   Biology   Father
## 402      M      Jordan       Jordan MiddleSchool   Biology   Father
## 403      M      Jordan       Jordan MiddleSchool   Biology   Father
## 404      M      Jordan       Jordan MiddleSchool   Biology   Father
## 405      F       Syria        Syria MiddleSchool   Biology      Mum
## 406      F       Syria        Syria MiddleSchool   Biology      Mum
## 407      M      Jordan       Jordan MiddleSchool   Biology      Mum
## 408      M      Jordan       Jordan MiddleSchool   Biology      Mum
## 409      M      Jordan       Jordan MiddleSchool   Biology   Father
## 410      M      Jordan       Jordan MiddleSchool   Biology   Father
## 411      F      Jordan       Jordan MiddleSchool   Biology      Mum
## 412      F      Jordan       Jordan MiddleSchool   Biology      Mum
## 413      M   Palestine       Jordan MiddleSchool   Biology   Father
## 414      M   Palestine       Jordan MiddleSchool   Biology   Father
## 415      F       Lybia        Lybia MiddleSchool   Biology      Mum
## 416      F       Lybia        Lybia MiddleSchool   Biology      Mum
## 417      M        Iraq         Iraq MiddleSchool   Biology   Father
## 418      M        Iraq         Iraq MiddleSchool   Biology   Father
## 419      M   Palestine       Jordan MiddleSchool   Biology   Father
## 420      M   Palestine       Jordan MiddleSchool   Biology   Father
## 421      F      Jordan       Jordan MiddleSchool Chemistry      Mum
## 422      F      Jordan       Jordan MiddleSchool Chemistry      Mum
## 423      F      Jordan       Jordan MiddleSchool   Geology      Mum
## 424      F      Jordan       Jordan MiddleSchool   Geology      Mum
## 425      F      Jordan       Jordan MiddleSchool   Geology      Mum
## 426      F      Jordan       Jordan MiddleSchool   Geology      Mum
## 427      M      Jordan       Jordan MiddleSchool Chemistry      Mum
## 428      M      Jordan       Jordan MiddleSchool Chemistry      Mum
## 429      M      Jordan  SaudiArabia MiddleSchool Chemistry   Father
## 430      M      Jordan  SaudiArabia MiddleSchool Chemistry   Father
## 431      M      Jordan  SaudiArabia MiddleSchool   Geology   Father
## 432      M      Jordan  SaudiArabia MiddleSchool   Geology   Father
## 433      M      Jordan  SaudiArabia MiddleSchool   Geology   Father
## 434      M      Jordan  SaudiArabia MiddleSchool   Geology   Father
## 435      M      Jordan       Jordan MiddleSchool Chemistry      Mum
## 436      M      Jordan       Jordan MiddleSchool Chemistry      Mum
## 437      M      Jordan       Jordan MiddleSchool   Geology      Mum
## 438      M      Jordan       Jordan MiddleSchool   Geology      Mum
## 439      M      Jordan       Jordan MiddleSchool Chemistry      Mum
## 440      M      Jordan       Jordan MiddleSchool Chemistry      Mum
## 441      M      Jordan       Jordan MiddleSchool   Geology      Mum
## 442      M      Jordan       Jordan MiddleSchool   Geology      Mum
## 443      M      Jordan       Jordan MiddleSchool   History      Mum
## 444      M      Jordan       Jordan MiddleSchool   History      Mum
## 445      M      Jordan       Jordan MiddleSchool Chemistry      Mum
## 446      M      Jordan       Jordan MiddleSchool Chemistry      Mum
## 447      M      Jordan       Jordan MiddleSchool   Geology      Mum
## 448      M      Jordan       Jordan MiddleSchool   Geology      Mum
## 449      M      Jordan       Jordan MiddleSchool   History      Mum
## 450      M      Jordan       Jordan MiddleSchool   History      Mum
## 451      F      Jordan       Jordan MiddleSchool Chemistry   Father
## 452      F      Jordan       Jordan MiddleSchool Chemistry   Father
## 453      F      Jordan       Jordan MiddleSchool   Geology   Father
## 454      F      Jordan       Jordan MiddleSchool   Geology   Father
## 455      F      Jordan       Jordan MiddleSchool   History   Father
## 456      F      Jordan       Jordan MiddleSchool   History   Father
## 457      F      Jordan       Jordan MiddleSchool Chemistry   Father
## 458      F      Jordan       Jordan MiddleSchool Chemistry   Father
## 459      M        Iraq         Iraq MiddleSchool Chemistry   Father
## 460      M        Iraq         Iraq MiddleSchool Chemistry   Father
## 461      M        Iraq         Iraq MiddleSchool   Geology   Father
## 462      M        Iraq         Iraq MiddleSchool   Geology   Father
## 463      M        Iraq         Iraq MiddleSchool   History   Father
## 464      M        Iraq         Iraq MiddleSchool   History   Father
## 465      F      Jordan       Jordan MiddleSchool Chemistry      Mum
## 466      F      Jordan       Jordan MiddleSchool Chemistry      Mum
## 467      F      Jordan       Jordan MiddleSchool   Geology      Mum
## 468      F      Jordan       Jordan MiddleSchool   Geology      Mum
## 469      F      Jordan       Jordan MiddleSchool Chemistry   Father
## 470      F      Jordan       Jordan MiddleSchool Chemistry   Father
## 471      M   Palestine       Jordan MiddleSchool   History   Father
## 472      M   Palestine       Jordan MiddleSchool   History   Father
## 473      M   Palestine    Palestine MiddleSchool   Geology   Father
## 474      M   Palestine    Palestine MiddleSchool   Geology   Father
## 475      F      Jordan       Jordan MiddleSchool Chemistry   Father
## 476      F      Jordan       Jordan MiddleSchool Chemistry   Father
## 477      F      Jordan       Jordan MiddleSchool   Geology   Father
## 478      F      Jordan       Jordan MiddleSchool   Geology   Father
## 479      F      Jordan       Jordan MiddleSchool   History   Father
## 480      F      Jordan       Jordan MiddleSchool   History   Father
##     raisedhands VisITedResources AnnouncementsView Discussion
## 1            15               16                 2         20
## 2            20               20                 3         25
## 3            10                7                 0         30
## 4            30               25                 5         35
## 5            40               50                12         50
## 6            42               30                13         70
## 7            35               12                 0         17
## 8            50               10                15         22
## 9            12               21                16         50
## 10           70               80                25         70
## 11           50               88                30         80
## 12           19                6                19         12
## 13            5                1                 0         11
## 14           20               14                12         19
## 15           62               70                44         60
## 16           30               40                22         66
## 17           36               30                20         80
## 18           55               13                35         90
## 19           69               15                36         96
## 20           70               50                40         99
## 21           60               60                33         90
## 22           10               12                 4         80
## 23           15               21                 2         90
## 24            2                0                 2         50
## 25            0                2                 3         70
## 26            8                7                30         40
## 27           19               19                25         40
## 28           25               15                12         33
## 29           75               85                52         43
## 30           30               90                33         35
## 31           35               80                50         70
## 32            4                5                40         16
## 33            2               19                10         50
## 34            8               22                 9         40
## 35           12               11                 8         40
## 36           10               12                17         30
## 37            8                6                 4         22
## 38           45               54                26         90
## 39            0                0                 0          4
## 40           50               90                37         70
## 41           14               13                 3         70
## 42           19               20                16         50
## 43           10               12                 7         33
## 44           30               35                28         90
## 45           33               33                30         90
## 46           20               12                15         70
## 47            7               10                 1         30
## 48           70                4                39         90
## 49           13               80                40         88
## 50           29               39                50         77
## 51           20               14                12         70
## 52           39               15                16         50
## 53           55               90                16         40
## 54           49               70                19         75
## 55           12               50                 8         30
## 56           16               14                 6         20
## 57           19                5                 4          1
## 58            5                2                 6          5
## 59           28               60                19         50
## 60           27               22                22         40
## 61           21               10                28         20
## 62           50               70                32         40
## 63           80               90                70         80
## 64           17               13                16         12
## 65            0                5                 7          2
## 66           13                5                18         19
## 67           25               10                19         30
## 68           65               75                23         80
## 69           70               69                35         30
## 70           39               40                11         33
## 71           22               30                10         12
## 72           29               22                 9         20
## 73           11                2                 2          8
## 74           19               30                26         19
## 75           12                0                 6         13
## 76           50               90                29         60
## 77           15               70                37         44
## 78           20               80                33         33
## 79           13                3                11          9
## 80           80               90                49         55
## 81            8               15                10         40
## 82            8               25                 1         70
## 83            7                5                 2         80
## 84            7                4                10         50
## 85           50               70                50         10
## 86            1                0                 1         12
## 87           70               12                40         50
## 88           19               70                 3         50
## 89            3               12                 4         33
## 90            5               20                 1         50
## 91            4                8                10         60
## 92           80               90                55         19
## 93           50               70                19         15
## 94           55               89                40         40
## 95           80               44                35         10
## 96          100               80                 2         70
## 97           14               60                11         75
## 98            6                2                38         12
## 99           10                3                 0         30
## 100          50                7                 9         50
## 101          50               90                40         90
## 102          70               92                50          7
## 103           2                6                 2          8
## 104           1                7                 6         10
## 105           0               12                 3          3
## 106           0                0                 5         80
## 107          12               26                 7         40
## 108          70               90                41         33
## 109           7               12                 5          3
## 110          90               70                30         14
## 111          70               88                55         40
## 112          77               80                51         80
## 113           2                5                 3         50
## 114          25               27                 0         69
## 115          11                2                 0         50
## 116           0                8                11         70
## 117          77               80                12         19
## 118          25               29                40         17
## 119          24               35                23         22
## 120          60               60                 3         60
## 121          21               12                 0         50
## 122           0                4                 8         30
## 123          66               90                55         12
## 124          70               98                 7          5
## 125           0                6                 4         15
## 126          12               30                 0         17
## 127           2                9                 7         55
## 128          55               33                 6          9
## 129          12               10                20         16
## 130          70               90                 2          2
## 131           7                9                 5         30
## 132          80               42                20         50
## 133           0                3                10          3
## 134          12               60                 0         70
## 135          80               80                15         70
## 136          70               80                95         70
## 137          70               80                95         70
## 138          60               80                50         40
## 139         100               80                95         90
## 140         100               85                85         70
## 141          10               60                 5         20
## 142          19               65                50         10
## 143          10               75                55         11
## 144          80               90                55         19
## 145          10               10                15         19
## 146          70               75                55         11
## 147         100               75                50         70
## 148          10               79                30         30
## 149          60               55                30         40
## 150         100               75                50         70
## 151          80               80                51         59
## 152          23               63                71         89
## 153         100               91                98         40
## 154          10               51                40         40
## 155          70               50                33         41
## 156          70               58                73         91
## 157          70               50                30         49
## 158          70               50                33         40
## 159          22               51                48         10
## 160          62               68                48         80
## 161          82               89                58         50
## 162          72               80                58         66
## 163          70               82                 3         73
## 164          60               82                93         43
## 165          55               72                83         14
## 166          72               65                73         66
## 167          51               82                53         43
## 168          80               92                83         43
## 169          60               52                23         33
## 170          30               12                29         23
## 171          40               62                83         33
## 172          60               52                23         33
## 173          20               22                53         13
## 174          20               52                23         33
## 175          50               62                73         43
## 176          10                2                13         53
## 177          60               52                23         33
## 178          15               52                83         11
## 179          80               42                33         13
## 180          40               51                20         33
## 181          60               70                63         93
## 182          50               62                13         33
## 183          85               75                62         53
## 184          25               15                32         53
## 185          10               35                30         13
## 186          87               65                82         33
## 187          85               15                22         53
## 188          80               71                52         51
## 189          75               71                72         53
## 190          85               66                12         23
## 191          23               25                32         53
## 192          15               25                37         13
## 193          95               91                62         53
## 194          81               75                62         53
## 195          53               75                72         23
## 196          15               43                42         33
## 197          92               65                62         53
## 198          83               75                62         53
## 199          27               15                42         53
## 200          45               95                12         13
## 201          15               90                52         83
## 202          45               58                52         43
## 203          25                5                12         33
## 204          22               51                42         40
## 205          29               10                12         24
## 206          72               51                42         24
## 207          67               31                42         14
## 208          17               21                42         14
## 209          27               41                49         14
## 210          70               81                39         84
## 211          27               90                82         14
## 212          17               61                42         14
## 213          87               81                42         19
## 214           7               61                22         14
## 215          17               50                 2          4
## 216           5               21                42         14
## 217          27               41                32         61
## 218          87               88                40         10
## 219          96               61                42         94
## 220          57               51                46         34
## 221          77               69                41         13
## 222          80               51                40         24
## 223          62               61                82         40
## 224          72               83                12         90
## 225          87               81                22         70
## 226          72               90                12         30
## 227           2               11                62         30
## 228           5                3                 2         10
## 229          73               84                77         81
## 230           5               17                21         10
## 231          51               42                12         29
## 232           9                7                21         20
## 233          19               72                15         50
## 234          32               80                58         46
## 235          32               60                58         66
## 236          12                8                18         26
## 237          52               10                13          6
## 238          72               80                58         66
## 239          72               80                58         66
## 240          92               80                88         76
## 241          72               80                98         96
## 242          72               80                58         86
## 243          22               20                18          6
## 244          12               20                38         46
## 245          70               92                83         85
## 246          50               40                52         66
## 247          80               94                62         77
## 248          87               48                82         96
## 249          70               40                 2         16
## 250          65               86                62         40
## 251          15                6                32         40
## 252          19               74                32         17
## 253          69               76                82         94
## 254          39               26                12         44
## 255          59               97                42         70
## 256          10               17                12         40
## 257          80               87                72         60
## 258          70               99                66         65
## 259          80               97                86         95
## 260          69               34                12         17
## 261          10               17                12         14
## 262          61               97                82         64
## 263          21               27                52         34
## 264          49               94                42          7
## 265          70               64                42         32
## 266          79               84                82         37
## 267          19               80                12         17
## 268          11               70                32         29
## 269          10                8                10         10
## 270          18               28                40         20
## 271          90               84                52         30
## 272          92               81                32         36
## 273          42               21                 2         16
## 274          22               20                 6         26
## 275          95               82                82         70
## 276          90               62                80         60
## 277          72               21                22         26
## 278          92               31                42         27
## 279          82               31                52         25
## 280          72               41                46         27
## 281          74               71                56         37
## 282          74               60                56         37
## 283          95               94                72         80
## 284          97               87                82         86
## 285          40               38                32         36
## 286          41               39                35         39
## 287          51               79                85         89
## 288          81               79                91         85
## 289          71               70                65         69
## 290          75               71                76         80
## 291          49               36                32         44
## 292          42               24                12         24
## 293          90               86                82         74
## 294          62               64                72         84
## 295          90               86                82         74
## 296          62               64                72         84
## 297          98               87                86         84
## 298          72               74                82         89
## 299          18               17                26         34
## 300          32               14                32         29
## 301          10               12                20         13
## 302          22               34                15          9
## 303          11               20                21         23
## 304          12               44                25         39
## 305          15               50                24         43
## 306          32               44                29         89
## 307          65               59                74         83
## 308          72               64                59         89
## 309          95               57                74         89
## 310          82               84                79         79
## 311          25               29                34         33
## 312          42               34                29         39
## 313          55               79                44         43
## 314          62               64                69         49
## 315          78               88                74         83
## 316          72               84                89         89
## 317          60               92                83         23
## 318          50               90                83         13
## 319          60               97                13          3
## 320          50               95                23         10
## 321          60               87                23         11
## 322          50               80                20         15
## 323          10               15                10         21
## 324          30               10                20          5
## 325          24               35                18         31
## 326          27               20                33         35
## 327          10               15                10         21
## 328          30               10                20          5
## 329          80               77                63         83
## 330          75               85                73         80
## 331          40                7                50         41
## 332          35                2                29         33
## 333          10               90                30         21
## 334          25               80                29         23
## 335          10                8                 9          3
## 336          15                7                12          7
## 337          70               90                20         21
## 338          75               80                15         20
## 339          78               98                10         11
## 340          79               89                11         14
## 341          16               90                15         11
## 342          17               80                13         10
## 343          40               87                50         41
## 344          35               92                29         33
## 345          14               97                15         14
## 346          13               82                20         30
## 347          24               97                15         14
## 348          23               82                20         30
## 349          20                3                 9          3
## 350          15                4                12          7
## 351           5               13                 6          6
## 352           7                9                11         10
## 353          10               94                40         11
## 354          25               89                21         13
## 355          30               98                42         21
## 356          35               97                41         23
## 357          32               88                32         25
## 358          25               87                21         27
## 359          72               98                52         15
## 360          75               90                51         17
## 361          20               88                31         28
## 362          10               98                41         38
## 363          90               98                41         38
## 364          80               88                51         39
## 365          80               95                21         28
## 366          78               70                31         29
## 367          10               18                71         38
## 368          10               58                51         48
## 369          98               88                60         31
## 370          75               81                51         34
## 371          10               17                50         21
## 372          35                2                29         23
## 373          10               20                22         97
## 374           5                9                19         98
## 375          10               10                40         51
## 376          35                2                29         23
## 377          20               90                50         61
## 378          32               82                59         63
## 379          10               30                50         91
## 380          12               22                59         83
## 381          11               20                20         98
## 382          10               12                29         93
## 383          69               82                20         28
## 384          70               83                29         33
## 385          89               92                40         28
## 386          79               93                49         23
## 387          15               90                21         97
## 388          20               77                31         88
## 389           4               10                11          7
## 390           5                0                 1          8
## 391          88               81                50         10
## 392          90               88                54         12
## 393          86               98                50         20
## 394          90               90                57         22
## 395          78               91                50         40
## 396          70               98                54         72
## 397          80               80                46         61
## 398          85               82                59         63
## 399          88               90                86         81
## 400          89               92                89         83
## 401          39               71                40         26
## 402          35               80                34         22
## 403          76               81                80         86
## 404          65               89                64         82
## 405          96               95                70         70
## 406          80               91                87         72
## 407           2                9                10          1
## 408           3                8                19          3
## 409          50               79                10         31
## 410          53               88                 9         33
## 411          70               89                12         21
## 412          59               90                19         43
## 413          78               80                66         51
## 414          79               72                79         83
## 415          10                9                 2          1
## 416           9                7                 9          3
## 417          98               90                86         71
## 418          89               92                89         83
## 419          88               90                76         81
## 420          99               96                89         84
## 421          82               89                22         31
## 422          84               92                29         43
## 423          70               69                46         45
## 424          74               62                49         43
## 425          90               79                76         79
## 426          84               77                79         68
## 427          80               80                62         11
## 428          81               82                69         13
## 429          10                0                 2         41
## 430          11                2                 9         49
## 431          85               89                22         61
## 432          80               89                23         68
## 433          95               87                62         81
## 434          87               79                73         98
## 435          85               87                72         10
## 436          79               88                79         20
## 437          80               81                71         30
## 438          70               83                70         23
## 439          80               82                76         19
## 440          70               82                75         29
## 441          89               87                86         15
## 442          90               86                85         10
## 443          69               77                76         75
## 444          70               76                65         70
## 445          75               72                64         39
## 446          72               76                66         40
## 447          77               82                74         79
## 448          71               84                67         80
## 449          87               92                74         89
## 450          81               84                77         85
## 451          15               97                22         10
## 452          19               98                20          2
## 453          25               82                52         20
## 454          29               78                40         12
## 455          45               87                57         80
## 456          39               88                43         72
## 457          85               90                52         30
## 458          79               91                49         22
## 459          90               91                80         81
## 460          80               90                80         83
## 461          80               83                82         71
## 462          71               81                83         72
## 463          72               87                72         89
## 464          69               77                83         92
## 465          85               99                42         90
## 466          89               96                45         92
## 467          80               82                64         58
## 468          87               93                63         60
## 469          15                9                14         80
## 470           9                6                15         85
## 471          81               86                86         41
## 472          78               82                78         53
## 473          80               87                74         68
## 474          85               88                79         70
## 475           2                7                 4          8
## 476           5                4                 5          8
## 477          50               77                14         28
## 478          55               74                25         29
## 479          30               17                14         57
## 480          35               14                23         62
##     ParentAnsweringSurvey ParentschoolSatisfaction StudentAbsenceDays
## 1                     Yes                     Good            Under-7
## 2                     Yes                     Good            Under-7
## 3                      No                      Bad            Above-7
## 4                      No                      Bad            Above-7
## 5                      No                      Bad            Above-7
## 6                     Yes                      Bad            Above-7
## 7                      No                      Bad            Above-7
## 8                     Yes                     Good            Under-7
## 9                     Yes                     Good            Under-7
## 10                    Yes                     Good            Under-7
## 11                    Yes                     Good            Under-7
## 12                    Yes                     Good            Under-7
## 13                     No                      Bad            Above-7
## 14                     No                      Bad            Above-7
## 15                     No                      Bad            Above-7
## 16                    Yes                     Good            Under-7
## 17                     No                      Bad            Above-7
## 18                     No                      Bad            Above-7
## 19                    Yes                     Good            Under-7
## 20                    Yes                     Good            Under-7
## 21                     No                      Bad            Above-7
## 22                     No                      Bad            Under-7
## 23                     No                      Bad            Under-7
## 24                     No                      Bad            Above-7
## 25                    Yes                     Good            Above-7
## 26                    Yes                     Good            Above-7
## 27                    Yes                      Bad            Under-7
## 28                     No                      Bad            Above-7
## 29                    Yes                     Good            Under-7
## 30                     No                      Bad            Under-7
## 31                    Yes                     Good            Under-7
## 32                    Yes                     Good            Above-7
## 33                    Yes                     Good            Above-7
## 34                     No                      Bad            Above-7
## 35                     No                      Bad            Above-7
## 36                     No                      Bad            Above-7
## 37                    Yes                     Good            Above-7
## 38                    Yes                     Good            Under-7
## 39                     No                      Bad            Above-7
## 40                    Yes                     Good            Under-7
## 41                     No                      Bad            Above-7
## 42                     No                     Good            Under-7
## 43                    Yes                     Good            Above-7
## 44                    Yes                     Good            Under-7
## 45                     No                      Bad            Under-7
## 46                     No                     Good            Above-7
## 47                     No                      Bad            Above-7
## 48                    Yes                     Good            Under-7
## 49                    Yes                     Good            Under-7
## 50                    Yes                     Good            Under-7
## 51                     No                      Bad            Above-7
## 52                     No                     Good            Above-7
## 53                     No                      Bad            Under-7
## 54                    Yes                     Good            Under-7
## 55                     No                      Bad            Above-7
## 56                    Yes                     Good            Above-7
## 57                    Yes                     Good            Above-7
## 58                    Yes                     Good            Above-7
## 59                    Yes                     Good            Under-7
## 60                     No                     Good            Under-7
## 61                     No                     Good            Above-7
## 62                    Yes                     Good            Under-7
## 63                    Yes                     Good            Under-7
## 64                    Yes                      Bad            Under-7
## 65                     No                      Bad            Above-7
## 66                     No                      Bad            Above-7
## 67                     No                      Bad            Above-7
## 68                    Yes                     Good            Under-7
## 69                    Yes                     Good            Under-7
## 70                     No                      Bad            Under-7
## 71                    Yes                     Good            Above-7
## 72                    Yes                     Good            Under-7
## 73                     No                      Bad            Under-7
## 74                    Yes                      Bad            Above-7
## 75                     No                      Bad            Under-7
## 76                    Yes                     Good            Under-7
## 77                    Yes                     Good            Under-7
## 78                    Yes                     Good            Under-7
## 79                     No                      Bad            Above-7
## 80                    Yes                      Bad            Under-7
## 81                    Yes                      Bad            Under-7
## 82                     No                      Bad            Above-7
## 83                    Yes                     Good            Above-7
## 84                     No                     Good            Above-7
## 85                    Yes                     Good            Above-7
## 86                     No                      Bad            Above-7
## 87                    Yes                     Good            Under-7
## 88                     No                      Bad            Under-7
## 89                     No                      Bad            Under-7
## 90                    Yes                     Good            Above-7
## 91                    Yes                     Good            Above-7
## 92                    Yes                     Good            Under-7
## 93                    Yes                     Good            Under-7
## 94                    Yes                     Good            Under-7
## 95                     No                     Good            Above-7
## 96                     No                      Bad            Under-7
## 97                    Yes                     Good            Under-7
## 98                     No                      Bad            Under-7
## 99                     No                      Bad            Under-7
## 100                   Yes                      Bad            Above-7
## 101                   Yes                      Bad            Under-7
## 102                   Yes                     Good            Under-7
## 103                    No                      Bad            Above-7
## 104                    No                      Bad            Above-7
## 105                   Yes                     Good            Above-7
## 106                   Yes                     Good            Above-7
## 107                   Yes                     Good            Under-7
## 108                   Yes                      Bad            Under-7
## 109                    No                      Bad            Above-7
## 110                    No                      Bad            Under-7
## 111                   Yes                     Good            Under-7
## 112                    No                     Good            Under-7
## 113                    No                      Bad            Above-7
## 114                    No                      Bad            Above-7
## 115                    No                      Bad            Above-7
## 116                   Yes                     Good            Above-7
## 117                   Yes                     Good            Above-7
## 118                    No                     Good            Under-7
## 119                   Yes                     Good            Above-7
## 120                    No                      Bad            Under-7
## 121                   Yes                     Good            Under-7
## 122                    No                      Bad            Above-7
## 123                   Yes                     Good            Above-7
## 124                   Yes                     Good            Under-7
## 125                   Yes                      Bad            Under-7
## 126                    No                     Good            Above-7
## 127                   Yes                     Good            Under-7
## 128                    No                      Bad            Above-7
## 129                    No                      Bad            Under-7
## 130                   Yes                     Good            Under-7
## 131                    No                      Bad            Above-7
## 132                   Yes                     Good            Under-7
## 133                    No                      Bad            Above-7
## 134                   Yes                     Good            Above-7
## 135                   Yes                     Good            Under-7
## 136                   Yes                     Good            Under-7
## 137                   Yes                     Good            Under-7
## 138                    No                      Bad            Under-7
## 139                    No                      Bad            Under-7
## 140                    No                      Bad            Under-7
## 141                   Yes                      Bad            Above-7
## 142                    No                      Bad            Above-7
## 143                   Yes                     Good            Under-7
## 144                   Yes                     Good            Under-7
## 145                    No                      Bad            Above-7
## 146                   Yes                      Bad            Under-7
## 147                   Yes                     Good            Under-7
## 148                    No                      Bad            Under-7
## 149                    No                      Bad            Under-7
## 150                   Yes                      Bad            Under-7
## 151                   Yes                     Good            Under-7
## 152                   Yes                     Good            Under-7
## 153                   Yes                      Bad            Under-7
## 154                    No                      Bad            Above-7
## 155                    No                      Bad            Above-7
## 156                   Yes                      Bad            Under-7
## 157                   Yes                     Good            Under-7
## 158                    No                     Good            Under-7
## 159                    No                      Bad            Above-7
## 160                   Yes                     Good            Under-7
## 161                   Yes                     Good            Under-7
## 162                    No                      Bad            Under-7
## 163                    No                      Bad            Under-7
## 164                    No                      Bad            Above-7
## 165                   Yes                     Good            Above-7
## 166                   Yes                     Good            Under-7
## 167                    No                      Bad            Under-7
## 168                   Yes                     Good            Under-7
## 169                   Yes                     Good            Under-7
## 170                    No                      Bad            Under-7
## 171                   Yes                     Good            Under-7
## 172                    No                     Good            Under-7
## 173                    No                     Good            Above-7
## 174                   Yes                     Good            Above-7
## 175                   Yes                      Bad            Above-7
## 176                    No                      Bad            Above-7
## 177                   Yes                      Bad            Under-7
## 178                   Yes                      Bad            Under-7
## 179                   Yes                      Bad            Under-7
## 180                    No                      Bad            Under-7
## 181                   Yes                      Bad            Under-7
## 182                    No                      Bad            Above-7
## 183                   Yes                      Bad            Under-7
## 184                    No                      Bad            Under-7
## 185                    No                      Bad            Above-7
## 186                   Yes                     Good            Under-7
## 187                   Yes                     Good            Under-7
## 188                   Yes                     Good            Under-7
## 189                   Yes                     Good            Under-7
## 190                    No                      Bad            Under-7
## 191                    No                      Bad            Under-7
## 192                   Yes                     Good            Above-7
## 193                   Yes                     Good            Under-7
## 194                    No                      Bad            Under-7
## 195                    No                      Bad            Under-7
## 196                   Yes                     Good            Under-7
## 197                   Yes                     Good            Under-7
## 198                    No                      Bad            Under-7
## 199                    No                      Bad            Above-7
## 200                    No                      Bad            Under-7
## 201                   Yes                      Bad            Under-7
## 202                   Yes                     Good            Under-7
## 203                   Yes                     Good            Under-7
## 204                   Yes                      Bad            Under-7
## 205                    No                      Bad            Above-7
## 206                   Yes                      Bad            Above-7
## 207                   Yes                     Good            Under-7
## 208                   Yes                     Good            Under-7
## 209                    No                      Bad            Under-7
## 210                    No                      Bad            Under-7
## 211                   Yes                     Good            Under-7
## 212                    No                      Bad            Under-7
## 213                   Yes                     Good            Under-7
## 214                    No                      Bad            Above-7
## 215                    No                      Bad            Above-7
## 216                    No                     Good            Above-7
## 217                   Yes                      Bad            Above-7
## 218                   Yes                     Good            Under-7
## 219                   Yes                      Bad            Under-7
## 220                   Yes                     Good            Under-7
## 221                   Yes                     Good            Under-7
## 222                    No                     Good            Under-7
## 223                   Yes                      Bad            Under-7
## 224                   Yes                     Good            Under-7
## 225                   Yes                      Bad            Under-7
## 226                    No                      Bad            Under-7
## 227                    No                      Bad            Under-7
## 228                   Yes                     Good            Under-7
## 229                   Yes                     Good            Above-7
## 230                    No                      Bad            Above-7
## 231                    No                      Bad            Above-7
## 232                   Yes                     Good            Above-7
## 233                   Yes                     Good            Above-7
## 234                   Yes                     Good            Above-7
## 235                   Yes                     Good            Above-7
## 236                    No                      Bad            Above-7
## 237                    No                      Bad            Above-7
## 238                   Yes                     Good            Above-7
## 239                   Yes                     Good            Above-7
## 240                   Yes                     Good            Under-7
## 241                   Yes                      Bad            Under-7
## 242                   Yes                     Good            Under-7
## 243                    No                      Bad            Above-7
## 244                    No                      Bad            Above-7
## 245                   Yes                      Bad            Under-7
## 246                   Yes                      Bad            Under-7
## 247                   Yes                     Good            Under-7
## 248                    No                      Bad            Above-7
## 249                    No                      Bad            Above-7
## 250                    No                     Good            Above-7
## 251                   Yes                     Good            Under-7
## 252                    No                     Good            Above-7
## 253                    No                      Bad            Under-7
## 254                    No                      Bad            Above-7
## 255                   Yes                     Good            Under-7
## 256                   Yes                     Good            Under-7
## 257                    No                     Good            Under-7
## 258                    No                     Good            Under-7
## 259                   Yes                     Good            Under-7
## 260                    No                      Bad            Above-7
## 261                    No                      Bad            Above-7
## 262                   Yes                      Bad            Above-7
## 263                   Yes                     Good            Above-7
## 264                    No                      Bad            Above-7
## 265                    No                      Bad            Under-7
## 266                    No                      Bad            Under-7
## 267                   Yes                     Good            Above-7
## 268                   Yes                     Good            Above-7
## 269                   Yes                      Bad            Above-7
## 270                   Yes                      Bad            Above-7
## 271                    No                     Good            Under-7
## 272                    No                     Good            Under-7
## 273                    No                      Bad            Under-7
## 274                    No                      Bad            Under-7
## 275                   Yes                     Good            Under-7
## 276                   Yes                     Good            Under-7
## 277                   Yes                     Good            Under-7
## 278                   Yes                     Good            Under-7
## 279                    No                     Good            Under-7
## 280                    No                     Good            Under-7
## 281                    No                     Good            Under-7
## 282                    No                     Good            Under-7
## 283                    No                     Good            Under-7
## 284                    No                     Good            Under-7
## 285                    No                      Bad            Above-7
## 286                   Yes                      Bad            Above-7
## 287                   Yes                     Good            Under-7
## 288                   Yes                     Good            Under-7
## 289                   Yes                     Good            Under-7
## 290                   Yes                     Good            Under-7
## 291                    No                      Bad            Above-7
## 292                    No                      Bad            Above-7
## 293                   Yes                     Good            Under-7
## 294                   Yes                     Good            Under-7
## 295                   Yes                     Good            Above-7
## 296                   Yes                     Good            Above-7
## 297                    No                     Good            Under-7
## 298                    No                     Good            Under-7
## 299                    No                     Good            Above-7
## 300                    No                     Good            Above-7
## 301                    No                      Bad            Above-7
## 302                    No                      Bad            Above-7
## 303                    No                      Bad            Under-7
## 304                    No                      Bad            Under-7
## 305                   Yes                      Bad            Under-7
## 306                   Yes                      Bad            Under-7
## 307                   Yes                     Good            Under-7
## 308                   Yes                     Good            Under-7
## 309                   Yes                     Good            Above-7
## 310                   Yes                     Good            Above-7
## 311                    No                     Good            Above-7
## 312                    No                     Good            Above-7
## 313                   Yes                     Good            Under-7
## 314                   Yes                     Good            Under-7
## 315                   Yes                     Good            Under-7
## 316                   Yes                     Good            Under-7
## 317                   Yes                     Good            Under-7
## 318                   Yes                     Good            Under-7
## 319                   Yes                     Good            Under-7
## 320                   Yes                     Good            Under-7
## 321                   Yes                     Good            Above-7
## 322                   Yes                     Good            Above-7
## 323                    No                      Bad            Above-7
## 324                    No                      Bad            Above-7
## 325                    No                      Bad            Under-7
## 326                    No                      Bad            Under-7
## 327                    No                      Bad            Above-7
## 328                    No                      Bad            Above-7
## 329                   Yes                     Good            Under-7
## 330                   Yes                     Good            Under-7
## 331                    No                     Good            Above-7
## 332                    No                     Good            Above-7
## 333                    No                     Good            Under-7
## 334                    No                     Good            Under-7
## 335                    No                     Good            Above-7
## 336                    No                     Good            Above-7
## 337                    No                     Good            Under-7
## 338                    No                     Good            Under-7
## 339                    No                     Good            Under-7
## 340                    No                     Good            Under-7
## 341                    No                     Good            Under-7
## 342                    No                     Good            Under-7
## 343                    No                      Bad            Under-7
## 344                    No                      Bad            Under-7
## 345                    No                     Good            Under-7
## 346                    No                     Good            Under-7
## 347                    No                     Good            Under-7
## 348                    No                     Good            Under-7
## 349                    No                     Good            Above-7
## 350                    No                     Good            Above-7
## 351                    No                     Good            Above-7
## 352                    No                     Good            Above-7
## 353                   Yes                     Good            Under-7
## 354                   Yes                     Good            Under-7
## 355                   Yes                     Good            Under-7
## 356                   Yes                     Good            Under-7
## 357                   Yes                     Good            Under-7
## 358                   Yes                     Good            Under-7
## 359                   Yes                     Good            Under-7
## 360                   Yes                     Good            Under-7
## 361                   Yes                     Good            Above-7
## 362                   Yes                     Good            Above-7
## 363                   Yes                     Good            Under-7
## 364                   Yes                     Good            Under-7
## 365                   Yes                     Good            Under-7
## 366                   Yes                     Good            Under-7
## 367                   Yes                     Good            Above-7
## 368                   Yes                     Good            Above-7
## 369                    No                     Good            Under-7
## 370                    No                     Good            Under-7
## 371                    No                      Bad            Under-7
## 372                    No                      Bad            Under-7
## 373                    No                      Bad            Above-7
## 374                    No                      Bad            Above-7
## 375                    No                      Bad            Above-7
## 376                    No                      Bad            Above-7
## 377                   Yes                      Bad            Above-7
## 378                   Yes                      Bad            Above-7
## 379                   Yes                      Bad            Above-7
## 380                   Yes                      Bad            Above-7
## 381                    No                      Bad            Above-7
## 382                    No                      Bad            Above-7
## 383                   Yes                     Good            Under-7
## 384                   Yes                     Good            Under-7
## 385                   Yes                     Good            Under-7
## 386                   Yes                     Good            Under-7
## 387                   Yes                     Good            Under-7
## 388                   Yes                     Good            Under-7
## 389                    No                     Good            Above-7
## 390                    No                     Good            Above-7
## 391                   Yes                     Good            Above-7
## 392                   Yes                     Good            Above-7
## 393                   Yes                     Good            Under-7
## 394                   Yes                     Good            Under-7
## 395                   Yes                     Good            Under-7
## 396                   Yes                     Good            Under-7
## 397                   Yes                      Bad            Under-7
## 398                   Yes                      Bad            Under-7
## 399                   Yes                     Good            Under-7
## 400                   Yes                     Good            Under-7
## 401                    No                     Good            Above-7
## 402                    No                     Good            Above-7
## 403                    No                     Good            Under-7
## 404                    No                     Good            Under-7
## 405                   Yes                     Good            Under-7
## 406                   Yes                     Good            Under-7
## 407                    No                      Bad            Above-7
## 408                    No                      Bad            Above-7
## 409                    No                      Bad            Under-7
## 410                    No                      Bad            Under-7
## 411                    No                     Good            Under-7
## 412                    No                     Good            Under-7
## 413                   Yes                     Good            Under-7
## 414                   Yes                     Good            Under-7
## 415                    No                     Good            Above-7
## 416                    No                     Good            Above-7
## 417                   Yes                     Good            Under-7
## 418                   Yes                     Good            Under-7
## 419                   Yes                     Good            Under-7
## 420                   Yes                     Good            Under-7
## 421                   Yes                     Good            Under-7
## 422                   Yes                     Good            Under-7
## 423                   Yes                     Good            Above-7
## 424                   Yes                     Good            Above-7
## 425                   Yes                     Good            Under-7
## 426                   Yes                     Good            Under-7
## 427                   Yes                     Good            Above-7
## 428                   Yes                     Good            Above-7
## 429                    No                      Bad            Above-7
## 430                    No                      Bad            Above-7
## 431                    No                      Bad            Under-7
## 432                    No                      Bad            Under-7
## 433                    No                      Bad            Under-7
## 434                    No                      Bad            Under-7
## 435                   Yes                     Good            Above-7
## 436                   Yes                     Good            Above-7
## 437                   Yes                     Good            Under-7
## 438                   Yes                     Good            Under-7
## 439                   Yes                     Good            Under-7
## 440                   Yes                     Good            Under-7
## 441                   Yes                     Good            Under-7
## 442                   Yes                     Good            Under-7
## 443                   Yes                     Good            Above-7
## 444                   Yes                     Good            Above-7
## 445                   Yes                     Good            Above-7
## 446                   Yes                     Good            Above-7
## 447                   Yes                     Good            Under-7
## 448                   Yes                     Good            Under-7
## 449                   Yes                     Good            Under-7
## 450                   Yes                     Good            Under-7
## 451                   Yes                     Good            Under-7
## 452                   Yes                     Good            Under-7
## 453                   Yes                     Good            Above-7
## 454                   Yes                     Good            Above-7
## 455                   Yes                     Good            Under-7
## 456                   Yes                     Good            Under-7
## 457                   Yes                     Good            Under-7
## 458                   Yes                     Good            Under-7
## 459                   Yes                     Good            Under-7
## 460                   Yes                     Good            Under-7
## 461                   Yes                     Good            Above-7
## 462                   Yes                     Good            Above-7
## 463                   Yes                     Good            Above-7
## 464                   Yes                     Good            Above-7
## 465                   Yes                     Good            Under-7
## 466                   Yes                     Good            Under-7
## 467                   Yes                     Good            Under-7
## 468                   Yes                     Good            Under-7
## 469                    No                      Bad            Above-7
## 470                    No                      Bad            Above-7
## 471                   Yes                     Good            Under-7
## 472                   Yes                     Good            Under-7
## 473                   Yes                     Good            Under-7
## 474                   Yes                     Good            Under-7
## 475                    No                      Bad            Above-7
## 476                    No                      Bad            Above-7
## 477                    No                      Bad            Under-7
## 478                    No                      Bad            Under-7
## 479                    No                      Bad            Above-7
## 480                    No                      Bad            Above-7
##     Class
## 1       M
## 2       M
## 3       L
## 4       L
## 5       M
## 6       M
## 7       L
## 8       M
## 9       M
## 10      M
## 11      H
## 12      M
## 13      L
## 14      L
## 15      H
## 16      M
## 17      M
## 18      M
## 19      M
## 20      H
## 21      M
## 22      M
## 23      M
## 24      L
## 25      L
## 26      L
## 27      M
## 28      L
## 29      M
## 30      M
## 31      H
## 32      L
## 33      L
## 34      L
## 35      L
## 36      L
## 37      L
## 38      M
## 39      L
## 40      M
## 41      L
## 42      M
## 43      L
## 44      M
## 45      M
## 46      L
## 47      L
## 48      H
## 49      H
## 50      M
## 51      L
## 52      L
## 53      M
## 54      H
## 55      L
## 56      L
## 57      L
## 58      L
## 59      M
## 60      M
## 61      L
## 62      M
## 63      H
## 64      M
## 65      L
## 66      L
## 67      M
## 68      H
## 69      H
## 70      M
## 71      L
## 72      M
## 73      L
## 74      M
## 75      L
## 76      M
## 77      M
## 78      M
## 79      L
## 80      H
## 81      L
## 82      L
## 83      L
## 84      M
## 85      H
## 86      L
## 87      H
## 88      L
## 89      L
## 90      L
## 91      L
## 92      H
## 93      H
## 94      H
## 95      L
## 96      H
## 97      H
## 98      M
## 99      M
## 100     M
## 101     M
## 102     H
## 103     L
## 104     L
## 105     M
## 106     L
## 107     M
## 108     H
## 109     M
## 110     M
## 111     H
## 112     M
## 113     L
## 114     L
## 115     L
## 116     L
## 117     M
## 118     H
## 119     M
## 120     M
## 121     M
## 122     L
## 123     M
## 124     M
## 125     L
## 126     L
## 127     M
## 128     L
## 129     L
## 130     L
## 131     L
## 132     M
## 133     L
## 134     L
## 135     H
## 136     H
## 137     H
## 138     M
## 139     H
## 140     M
## 141     L
## 142     L
## 143     M
## 144     H
## 145     L
## 146     M
## 147     H
## 148     M
## 149     M
## 150     H
## 151     H
## 152     M
## 153     H
## 154     L
## 155     M
## 156     H
## 157     M
## 158     M
## 159     L
## 160     M
## 161     H
## 162     M
## 163     H
## 164     M
## 165     M
## 166     H
## 167     M
## 168     H
## 169     H
## 170     M
## 171     H
## 172     M
## 173     L
## 174     L
## 175     M
## 176     L
## 177     H
## 178     M
## 179     H
## 180     M
## 181     H
## 182     L
## 183     H
## 184     M
## 185     L
## 186     H
## 187     M
## 188     M
## 189     H
## 190     M
## 191     L
## 192     L
## 193     M
## 194     M
## 195     M
## 196     M
## 197     H
## 198     H
## 199     L
## 200     M
## 201     H
## 202     H
## 203     M
## 204     M
## 205     L
## 206     H
## 207     M
## 208     M
## 209     M
## 210     M
## 211     H
## 212     M
## 213     H
## 214     L
## 215     L
## 216     L
## 217     M
## 218     M
## 219     H
## 220     M
## 221     M
## 222     M
## 223     M
## 224     H
## 225     H
## 226     M
## 227     L
## 228     L
## 229     H
## 230     L
## 231     M
## 232     L
## 233     M
## 234     M
## 235     M
## 236     L
## 237     L
## 238     M
## 239     M
## 240     H
## 241     H
## 242     M
## 243     L
## 244     M
## 245     H
## 246     M
## 247     H
## 248     M
## 249     L
## 250     M
## 251     H
## 252     L
## 253     M
## 254     L
## 255     H
## 256     H
## 257     H
## 258     M
## 259     M
## 260     L
## 261     L
## 262     M
## 263     M
## 264     M
## 265     M
## 266     H
## 267     M
## 268     M
## 269     M
## 270     M
## 271     H
## 272     M
## 273     M
## 274     H
## 275     H
## 276     H
## 277     H
## 278     H
## 279     M
## 280     M
## 281     H
## 282     H
## 283     H
## 284     H
## 285     M
## 286     M
## 287     H
## 288     H
## 289     M
## 290     M
## 291     L
## 292     L
## 293     H
## 294     H
## 295     M
## 296     M
## 297     H
## 298     H
## 299     M
## 300     M
## 301     L
## 302     L
## 303     M
## 304     M
## 305     M
## 306     M
## 307     H
## 308     H
## 309     M
## 310     M
## 311     M
## 312     M
## 313     H
## 314     H
## 315     H
## 316     H
## 317     H
## 318     H
## 319     H
## 320     H
## 321     M
## 322     M
## 323     L
## 324     L
## 325     M
## 326     M
## 327     L
## 328     L
## 329     M
## 330     M
## 331     L
## 332     L
## 333     M
## 334     M
## 335     L
## 336     L
## 337     M
## 338     M
## 339     M
## 340     M
## 341     M
## 342     M
## 343     M
## 344     M
## 345     H
## 346     H
## 347     H
## 348     H
## 349     L
## 350     L
## 351     L
## 352     L
## 353     M
## 354     M
## 355     H
## 356     H
## 357     M
## 358     M
## 359     H
## 360     H
## 361     M
## 362     M
## 363     H
## 364     H
## 365     H
## 366     H
## 367     M
## 368     M
## 369     H
## 370     H
## 371     M
## 372     M
## 373     L
## 374     L
## 375     L
## 376     L
## 377     M
## 378     M
## 379     L
## 380     L
## 381     L
## 382     L
## 383     H
## 384     H
## 385     H
## 386     H
## 387     M
## 388     M
## 389     L
## 390     L
## 391     M
## 392     M
## 393     H
## 394     H
## 395     H
## 396     H
## 397     M
## 398     M
## 399     H
## 400     H
## 401     M
## 402     M
## 403     H
## 404     H
## 405     H
## 406     H
## 407     L
## 408     L
## 409     M
## 410     M
## 411     H
## 412     H
## 413     M
## 414     M
## 415     L
## 416     L
## 417     H
## 418     H
## 419     H
## 420     H
## 421     H
## 422     H
## 423     M
## 424     M
## 425     H
## 426     H
## 427     M
## 428     M
## 429     L
## 430     L
## 431     H
## 432     H
## 433     M
## 434     M
## 435     M
## 436     M
## 437     M
## 438     M
## 439     M
## 440     M
## 441     M
## 442     M
## 443     M
## 444     M
## 445     L
## 446     L
## 447     M
## 448     M
## 449     H
## 450     H
## 451     H
## 452     H
## 453     M
## 454     M
## 455     M
## 456     M
## 457     H
## 458     H
## 459     H
## 460     H
## 461     M
## 462     M
## 463     M
## 464     M
## 465     H
## 466     H
## 467     H
## 468     H
## 469     L
## 470     L
## 471     M
## 472     M
## 473     M
## 474     M
## 475     L
## 476     L
## 477     M
## 478     M
## 479     L
## 480     L

We have 14 features left after removing 3 useless features.

Prediction model 1 – Decision tree

# Decision trees use probability to choose how to split, so here we "seed" a random number generator so our results are always the same.
set.seed(55)


# Split the data into 75% training, 25% test: this means we use 75% of the dataset to build our predictive model. We then use the remaining 25% of data as the unseen data (test) in order to evaluate the predictions.

ind <- sample(2, nrow(E1), replace=TRUE, prob=c(0.75, 0.25))
trainingData <- E1[ind==1,]
testData <- E1[ind==2,]
#Use the training data to train a model. 
formula <- Class ~ gender + NationalITy + PlaceofBirth + StageID  + Topic + Relation + raisedhands + VisITedResources + AnnouncementsView + Discussion + ParentAnsweringSurvey + ParentschoolSatisfaction + StudentAbsenceDays

E_ctree <- ctree(formula, data = trainingData)
plot(E_ctree)

tree.predict <- predict(E_ctree, newdata = testData)
confusionMatrix(tree.predict, testData$Class)
## Confusion Matrix and Statistics
## 
##           Reference
## Prediction  H  M  L
##          H 24  7  0
##          M 11 40 13
##          L  0  4 21
## 
## Overall Statistics
##                                           
##                Accuracy : 0.7083          
##                  95% CI : (0.6184, 0.7877)
##     No Information Rate : 0.425           
##     P-Value [Acc > NIR] : 3.275e-10       
##                                           
##                   Kappa : 0.5435          
##  Mcnemar's Test P-Value : NA              
## 
## Statistics by Class:
## 
##                      Class: H Class: M Class: L
## Sensitivity            0.6857   0.7843   0.6176
## Specificity            0.9176   0.6522   0.9535
## Pos Pred Value         0.7742   0.6250   0.8400
## Neg Pred Value         0.8764   0.8036   0.8632
## Prevalence             0.2917   0.4250   0.2833
## Detection Rate         0.2000   0.3333   0.1750
## Detection Prevalence   0.2583   0.5333   0.2083
## Balanced Accuracy      0.8017   0.7182   0.7856

Heatmap

E_table <- table(tree.predict, testData$Class)
E_melt <- melt(E_table)
names(E_melt) <- c("Prediction", "Reference", "Value")
E_melt$Value <- (E_melt$Value - min(E_melt$Value))/(max(E_melt$Value) - min(E_melt$Value))
E_melt
##   Prediction Reference Value
## 1          H         H 0.600
## 2          M         H 0.275
## 3          L         H 0.000
## 4          H         M 0.175
## 5          M         M 1.000
## 6          L         M 0.100
## 7          H         L 0.000
## 8          M         L 0.325
## 9          L         L 0.525
ggplot(E_melt, aes(x=Reference, y=Prediction, fill=Value)) + geom_tile() + scale_fill_gradient(low = "white",high = "red") + scale_x_discrete(position = "top") + scale_y_discrete(limits = rev(levels(E_melt$Prediction)))

Summary of model 1: we get some findings from the tree mode above:

1. From the plot of the tree, some variables ( VisITedResources, StudentAbsenceDays, Relation, gender, ParentAnsweringSurvey and raisedhands) are selected as splitting rules, which means these features are crucial in splitting the tree. so they are very important features in this tree model.

2. From the confusion matrix and heatmap, there is no prediction error between class L and H. However, the performance is not so good between class M and H, M and L. It means that this model has some problem in predicting the adjacent classes but not the distant classes.

3. The accuracy of this model is 0.7038 from the statistics result. The accuracy is a description of systematic errors, a measure of statistical bias. It reflects the percentage of the true positive cases out of all the cases. In this case, we can see that 24 of H class have been predicted correctly which means the numbers of the true positive of H class, and 7 of M classes have been predicted as H classes but actually not H, which indicates numbers of the false positive of H class. To calculate accuracy, the true positive cases are accumulated as 84 (24+40+21) including all the H, M and L classes, and the total cases are 120 (24+7+11+40+13+4+21) including all the TP, TN, FP and FN cases. The formula of accuracy is TP/TP+TN+FP+FT, so the accuracy is 84/120 = 0.7038 in this model.The accuracy reflects how the model performs in predicting the correct classes out of all the cases.

4. Precision is a better method for us to judge the performance of a model. Precision is a description of random errors, a measure of statistical variability. The formula of precision is TP/TP+FP, which can reflect the rate of true positive cases out of all the positive cases including false positive cases. In this case, there are 13 L classes that predicted as M classes, these 13 cases are the FP cases in predicting M classes, and there are also 7 M classes predicted as H classes, these 7 cases is the FP cases in predicting H classes. We can get a better insight of the model by referring to the precision of each class.

In this tree model, precision is: H(0.9176), M(0.6522), L(0.9535), and the mean precision is 0.8411.

Prediction model 2 – Random Forest

rf.model <- randomForest(formula, data = trainingData, importance = TRUE,
                         ntree = 2000, nodesize = 20)

rf.predict <- predict(rf.model, testData)
confusionMatrix(testData$Class, rf.predict)
## Confusion Matrix and Statistics
## 
##           Reference
## Prediction  H  M  L
##          H 22 13  0
##          M  5 42  4
##          L  0  7 27
## 
## Overall Statistics
##                                           
##                Accuracy : 0.7583          
##                  95% CI : (0.6717, 0.8318)
##     No Information Rate : 0.5167          
##     P-Value [Acc > NIR] : 4.645e-08       
##                                           
##                   Kappa : 0.6233          
##  Mcnemar's Test P-Value : NA              
## 
## Statistics by Class:
## 
##                      Class: H Class: M Class: L
## Sensitivity            0.8148   0.6774   0.8710
## Specificity            0.8602   0.8448   0.9213
## Pos Pred Value         0.6286   0.8235   0.7941
## Neg Pred Value         0.9412   0.7101   0.9535
## Prevalence             0.2250   0.5167   0.2583
## Detection Rate         0.1833   0.3500   0.2250
## Detection Prevalence   0.2917   0.4250   0.2833
## Balanced Accuracy      0.8375   0.7611   0.8962
varImpPlot(rf.model)

Summary of model 2: we get some findings from the tree mode above:

1. From the plot of variable importance, some variables ( StudentAbsenceDays, VisITedResources, raisedhands, AnnouncementsView, ParentAnsweringSurvey and Relation) are more important, and the other variables are less important in this model such as StageID, PlaceofBirth and Topic.

2. From the confusion matrix, there is also no prediction error between class L and H in this random forest model. There are some improvements: all the number of correct prediction has been increased in all the classes (26, 42 and 26) than the previous model. And the FP of M classes have been reduced a lot. However, the FP cases of H and L classes have been slightly increased.

3. The accuracy of this model 2 is 0.7583, which is a little higher than model 1.

4. In this random forest model, precision is: H(0.8681), M(0.8333), L(0.9213), and the mean precision is 0.8742.

Overall, this model is better than the tree model both in accuracy and precision.

Prediction model 3 – Support Vector Machines

svm.model <- svm(formula, data = trainingData, kernel = "radial", cost = 10, gamma = 0.15)
svm.predict <- predict(svm.model, testData)
confusionMatrix(testData$Class, svm.predict)
## Confusion Matrix and Statistics
## 
##           Reference
## Prediction  H  M  L
##          H 29  6  0
##          M  7 41  3
##          L  1  8 25
## 
## Overall Statistics
##                                          
##                Accuracy : 0.7917         
##                  95% CI : (0.708, 0.8604)
##     No Information Rate : 0.4583         
##     P-Value [Acc > NIR] : 7.632e-14      
##                                          
##                   Kappa : 0.6791         
##  Mcnemar's Test P-Value : 0.3408         
## 
## Statistics by Class:
## 
##                      Class: H Class: M Class: L
## Sensitivity            0.7838   0.7455   0.8929
## Specificity            0.9277   0.8462   0.9022
## Pos Pred Value         0.8286   0.8039   0.7353
## Neg Pred Value         0.9059   0.7971   0.9651
## Prevalence             0.3083   0.4583   0.2333
## Detection Rate         0.2417   0.3417   0.2083
## Detection Prevalence   0.2917   0.4250   0.2833
## Balanced Accuracy      0.8557   0.7958   0.8975

Summary of model 3: we get some findings from the tree mode above:

1. From the confusion matrix, different from the previous two models, there is a prediction error between class L and H, one H class is predicted as L class. There are some improvements: all the number of correct prediction has been increased in all the classes (29, 41 and 25), much better than the model 1, but similar to model 2. And the FP of H and M classes have been reduced, which is the best among these 3 models.

2. The accuracy of this model 3 is 0.7917, which is a little higher than model 1 and model 2.

3. In this random forest model, precision is: H(0.9277), M(0.8462), L(0.9022), and the mean precision is 0.8920.

Overall, this model is best among these 3 models both in accuracy and precision.

Task 4. Improvement of these prediction models using N-folder cross validation for the prediction models above

Using N-folder cross validation on prediction model 1 – Decision tree

# using 10-folder cross validation to train this model
TrainingParameters <- trainControl(method = "cv", number = 10)


# train model with randomforest networks
trModel <- train(formula,
                 data = trainingData,
                 method = "ctree",
                 trControl= TrainingParameters,
                 preProcess=c("scale","center"),
                 na.action = na.omit
)
## Loading required package: party
## Loading required package: mvtnorm
## Loading required package: modeltools
## Loading required package: stats4
## Loading required package: strucchange
## Loading required package: zoo
## 
## Attaching package: 'zoo'
## The following objects are masked from 'package:base':
## 
##     as.Date, as.Date.numeric
## Loading required package: sandwich
## 
## Attaching package: 'party'
## The following objects are masked from 'package:partykit':
## 
##     cforest, ctree, ctree_control, edge_simple, mob, mob_control,
##     node_barplot, node_bivplot, node_boxplot, node_inner,
##     node_surv, node_terminal
## Warning in preProcess.default(thresh = 0.95, k = 5, freqCut = 19,
## uniqueCut = 10, : These variables have zero variances: NationalITyvenzuela,
## PlaceofBirthvenzuela

## Warning in preProcess.default(thresh = 0.95, k = 5, freqCut = 19,
## uniqueCut = 10, : These variables have zero variances: NationalITyvenzuela,
## PlaceofBirthvenzuela

## Warning in preProcess.default(thresh = 0.95, k = 5, freqCut = 19,
## uniqueCut = 10, : These variables have zero variances: NationalITyvenzuela,
## PlaceofBirthvenzuela
trPredictions <-predict(trModel, testData)
# Create confusion matrix
confusionMatrix(testData$Class, trPredictions)
## Confusion Matrix and Statistics
## 
##           Reference
## Prediction  H  M  L
##          H 30  5  0
##          M  8 39  4
##          L  1 12 21
## 
## Overall Statistics
##                                           
##                Accuracy : 0.75            
##                  95% CI : (0.6627, 0.8245)
##     No Information Rate : 0.4667          
##     P-Value [Acc > NIR] : 2.484e-10       
##                                           
##                   Kappa : 0.6141          
##  Mcnemar's Test P-Value : 0.1276          
## 
## Statistics by Class:
## 
##                      Class: H Class: M Class: L
## Sensitivity            0.7692   0.6964   0.8400
## Specificity            0.9383   0.8125   0.8632
## Pos Pred Value         0.8571   0.7647   0.6176
## Neg Pred Value         0.8941   0.7536   0.9535
## Prevalence             0.3250   0.4667   0.2083
## Detection Rate         0.2500   0.3250   0.1750
## Detection Prevalence   0.2917   0.4250   0.2833
## Balanced Accuracy      0.8538   0.7545   0.8516
# estimate variable importance
importance <- varImp(trModel, scale=FALSE)
# summarize importance
print(importance)
## ROC curve variable importance
## 
##   variables are sorted by maximum importance across the classes
##                               H      M      L
## VisITedResources         0.9644 0.8995 0.9644
## StudentAbsenceDays       0.9491 0.8052 0.9491
## raisedhands              0.9469 0.8452 0.9469
## AnnouncementsView        0.8939 0.7945 0.8939
## ParentAnsweringSurvey    0.7904 0.6947 0.7904
## Relation                 0.7637 0.6770 0.7637
## ParentschoolSatisfaction 0.7431 0.6445 0.7431
## Discussion               0.7379 0.6402 0.7379
## gender                   0.6850 0.5929 0.6850
## Topic                    0.5890 0.5890 0.5719
## PlaceofBirth             0.5392 0.5606 0.5606
## StageID                  0.5503 0.5470 0.5503
## NationalITy              0.5073 0.5092 0.5092
# plot importance
plot(importance)

Summary of model 1: we get some findings from the tree mode above:

1. From the plot of variable importance, the most important variables are StudentAbsenceDays, VisITedResources, raisedhands and AnnouncementsView, the less important variables are ParentAnsweringSurvey, relation, ParentschoolSatisfaction, Discussion and gender, and the unimportant variables are Nationality, StageID, PlaceofBirth and Topic for every class. This conclusion further confirmed our findings in the previous steps.

2. From the confusion matrix, there is a prediction error between class L and H, one H class is predicted as L class. There are some improvements: The number of TP of H class with 30 is much better than the model 1 without cross validation, it’s also the highest till now. And the FP are much smaller than the model 1 without cross validation. However, there are 12 m class predicted as L class, which is much high than the model 1 without cross validation.

3. The accuracy of this model is 0.75, which is higher than the accuracy of model1 without cross validation(0.7083).

4. In this model, precision is: H(0.9383), M(0.8125), L(0.8632), and the mean precision is 0.8713, which is higher than that of model 1 without cross validation (0.8411).

Overall, this model is better than the model 1 without cross validation both in accuracy and precision, and similar to the performance of model 2 without cross validation

Using N-folder cross validation on prediction model 2 – Random Forest

# train model with randomforest networks
rfModel <- train(formula,
                 data = trainingData,
                  method = "rf",
                  trControl= TrainingParameters,
                  preProcess=c("scale","center"),
                 na.action = na.omit
)
## Warning in preProcess.default(thresh = 0.95, k = 5, freqCut = 19,
## uniqueCut = 10, : These variables have zero variances: NationalITyvenzuela,
## PlaceofBirthvenzuela

## Warning in preProcess.default(thresh = 0.95, k = 5, freqCut = 19,
## uniqueCut = 10, : These variables have zero variances: NationalITyvenzuela,
## PlaceofBirthvenzuela

## Warning in preProcess.default(thresh = 0.95, k = 5, freqCut = 19,
## uniqueCut = 10, : These variables have zero variances: NationalITyvenzuela,
## PlaceofBirthvenzuela
rfPredictions <-predict(rfModel, testData)
# Create confusion matrix
confusionMatrix(rfPredictions, testData$Class)
## Confusion Matrix and Statistics
## 
##           Reference
## Prediction  H  M  L
##          H 25  5  0
##          M 10 42  7
##          L  0  4 27
## 
## Overall Statistics
##                                           
##                Accuracy : 0.7833          
##                  95% CI : (0.6989, 0.8533)
##     No Information Rate : 0.425           
##     P-Value [Acc > NIR] : 1.259e-15       
##                                           
##                   Kappa : 0.664           
##  Mcnemar's Test P-Value : NA              
## 
## Statistics by Class:
## 
##                      Class: H Class: M Class: L
## Sensitivity            0.7143   0.8235   0.7941
## Specificity            0.9412   0.7536   0.9535
## Pos Pred Value         0.8333   0.7119   0.8710
## Neg Pred Value         0.8889   0.8525   0.9213
## Prevalence             0.2917   0.4250   0.2833
## Detection Rate         0.2083   0.3500   0.2250
## Detection Prevalence   0.2500   0.4917   0.2583
## Balanced Accuracy      0.8277   0.7886   0.8738
# estimate variable importance
importance <- varImp(rfModel, scale=FALSE)
# summarize importance
print(importance)
## rf variable importance
## 
##   only 20 most important variables shown (out of 48)
## 
##                              Overall
## VisITedResources              67.853
## StudentAbsenceDaysUnder-7     35.216
## raisedhands                   26.329
## AnnouncementsView             21.496
## Discussion                    19.582
## RelationMum                    9.009
## genderM                        5.801
## ParentAnsweringSurveyYes       5.096
## NationalITySaudiArabia         3.347
## TopicEnglish                   3.320
## ParentschoolSatisfactionGood   3.084
## TopicGeology                   2.356
## PlaceofBirthJordan             2.102
## TopicChemistry                 2.071
## StageIDMiddleSchool            2.015
## TopicMath                      1.961
## NationalITyPalestine           1.819
## StageIDLowerlevel              1.673
## NationalITyKW                  1.631
## PlaceofBirthKuwaIT             1.473

Summary of model 2: we conclude some findings from the tree mode above:

1. From the plot of variable importance, the most important variables are VisITedResources, raisedhands, StudentAbsenceDays, AnnouncementsView and Discussion, the less important variables are RelationMum, ParentAnsweringSurvey, genderM and ParentschoolSatisfaction, and the unimportant variables are Topic, StageID,Nationality and PlaceofBirth for every class. This figures that represent the level of importance is much clear, which also further confirmed our findings in the previous steps.

2. From the confusion matrix, there is no prediction error between class L and H in this random forest model. There are some improvements: The number of correct prediciton has been increased a lot in M and L class (43 and 28) than the model 1. And there are only 4 m class predicted as L class, which has been improved a lot than model 1.

3. The accuracy of this model is 0.8083, which is the highest accuracy among all the models.

4. In this model, precision is: H(0.9529), M(0.7826), L(0.9535), and the mean precision is 0.8963, which is highest precision among all the models till now.

Overall, this model is much better than the model 1 with cross validation both in accuracy and precision.

Using N-folder cross validation on prediction model 3 – Support Vector Machines

# train model with SVM
SVMModel <- train(formula,
                 data = trainingData,
                  method = "svmRadial", cost = 10, gamma = 0.15,
                  trControl= TrainingParameters,
                  preProcess=c("scale","center"),
                  na.action = na.omit
)
## Loading required package: kernlab
## Warning: package 'kernlab' was built under R version 3.4.1
## 
## Attaching package: 'kernlab'
## The following object is masked from 'package:modeltools':
## 
##     prior
## The following object is masked from 'package:ggplot2':
## 
##     alpha
## Warning in preProcess.default(thresh = 0.95, k = 5, freqCut = 19,
## uniqueCut = 10, : These variables have zero variances: NationalITyvenzuela,
## PlaceofBirthvenzuela
## Warning in .local(x, ...): Variable(s) `' constant. Cannot scale data.
## Warning in preProcess.default(thresh = 0.95, k = 5, freqCut = 19,
## uniqueCut = 10, : These variables have zero variances: NationalITyvenzuela,
## PlaceofBirthvenzuela
## Warning in .local(x, ...): Variable(s) `' constant. Cannot scale data.
## Warning in preProcess.default(thresh = 0.95, k = 5, freqCut = 19,
## uniqueCut = 10, : These variables have zero variances: NationalITyvenzuela,
## PlaceofBirthvenzuela
## Warning in .local(x, ...): Variable(s) `' constant. Cannot scale data.
SVMPredictions <-predict(SVMModel, testData)
# Create confusion matrix
confusionMatrix(SVMPredictions, testData$Class)
## Confusion Matrix and Statistics
## 
##           Reference
## Prediction  H  M  L
##          H 22  2  0
##          M 13 45  9
##          L  0  4 25
## 
## Overall Statistics
##                                          
##                Accuracy : 0.7667         
##                  95% CI : (0.6807, 0.839)
##     No Information Rate : 0.425          
##     P-Value [Acc > NIR] : 2.733e-14      
##                                          
##                   Kappa : 0.6331         
##  Mcnemar's Test P-Value : NA             
## 
## Statistics by Class:
## 
##                      Class: H Class: M Class: L
## Sensitivity            0.6286   0.8824   0.7353
## Specificity            0.9765   0.6812   0.9535
## Pos Pred Value         0.9167   0.6716   0.8621
## Neg Pred Value         0.8646   0.8868   0.9011
## Prevalence             0.2917   0.4250   0.2833
## Detection Rate         0.1833   0.3750   0.2083
## Detection Prevalence   0.2000   0.5583   0.2417
## Balanced Accuracy      0.8025   0.7818   0.8444
# estimate variable importance
importance <- varImp(SVMModel, scale=FALSE)
# summarize importance
print(importance)
## ROC curve variable importance
## 
##   variables are sorted by maximum importance across the classes
##                               H      M      L
## VisITedResources         0.9644 0.8995 0.9644
## StudentAbsenceDays       0.9491 0.8052 0.9491
## raisedhands              0.9469 0.8452 0.9469
## AnnouncementsView        0.8939 0.7945 0.8939
## ParentAnsweringSurvey    0.7904 0.6947 0.7904
## Relation                 0.7637 0.6770 0.7637
## ParentschoolSatisfaction 0.7431 0.6445 0.7431
## Discussion               0.7379 0.6402 0.7379
## gender                   0.6850 0.5929 0.6850
## Topic                    0.5890 0.5890 0.5719
## PlaceofBirth             0.5392 0.5606 0.5606
## StageID                  0.5503 0.5470 0.5503
## NationalITy              0.5073 0.5092 0.5092
# plot importance
plot(importance)

Summary of model 3: we conclude some findings from the tree mode above:

1. From the plot of variable importance, the most important variables are VisITedResources, StudentAbsenceDays, raisedhands and AnnouncementsView, the less important variables are ParentAnsweringSurvey, Relation, ParentschoolSatisfaction, Discussion and gender, and the unimportant variables are Topic, StageID, Nationality and PlaceofBirth for every class. The figures that represent the level of importance is much clear, which also further confirmed our findings in the previous steps.

2. From the confusion matrix, there is no prediction error between class L and H in this random forest model. There are some improvements than model 1 but not than model 2: The number of correct prediction has been increased a lot in M and L class (43 and 25) than the model 1. And there are only 4 m class predicted as L class, which has been improved a lot than model 1. However, the number of TP of H class is the lowest among those 3 models, even worse than the model 3 without cross validation.

3. The accuracy of this model is 0.75, which is the same as model 1 but less than the model 3 without cross validation.

4. In this model, precision is: H(0.9529), M(0.6812), L(0.9535), and the mean precision is 0.8625.

Overall, this model worse than the model 3 without cross validation both in accuracy and precision.

Final Conclusion:

1. Model 1 and 2 performed much better by training on the N-folder cross validation dataset, but model 3 performed even worse than none cross validation.